[][src]Struct gpsd_proto::Version

pub struct Version {
    pub release: String,
    pub rev: String,
    pub proto_major: u8,
    pub proto_minor: u8,
    pub remote: Option<String>,
}

gpsd ships a VERSION response to each client when the client first connects to it.

Fields

release: String

Public release level.

rev: String

Internal revision-control level.

proto_major: u8

API major revision level.

proto_minor: u8

API minor revision level.

remote: Option<String>

URL of the remote daemon reporting this version. If empty, this is the version of the local daemon.

Trait Implementations

impl Debug for Version[src]

impl<'de> Deserialize<'de> for Version[src]

Auto Trait Implementations

impl Sync for Version

impl Unpin for Version

impl Send for Version

impl UnwindSafe for Version

impl RefUnwindSafe for Version

Blanket Implementations

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

impl<T> From<T> for 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]