[][src]Struct nsl_duplex_d2::GeoRecord

pub struct GeoRecord {
    pub lon: f32,
    pub lat: f32,
    pub time: i64,
    pub max_error: u32,
}

Struct for storing geo-records.

Fields

lon: f32

Modem' longitude at the time of the last connection

lat: f32

Modem's latitude at the time of the last connection

time: i64

Time of modem's last connection

max_error: u32

Approximate error of location data (<300m to <100km)

Methods

impl GeoRecord[src]

pub fn parse(input: &[u8]) -> IResult<&[u8], GeoRecord>[src]

Parse GeoRecord

Trait Implementations

impl PartialEq<GeoRecord> for GeoRecord[src]

impl Debug for GeoRecord[src]

Auto Trait Implementations

impl Send for GeoRecord

impl Sync for GeoRecord

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]