Struct gpsd_proto::Version
source · pub struct Version {
pub release: String,
pub rev: String,
pub proto_major: u8,
pub proto_minor: u8,
pub remote: Option<String>,
}
Expand description
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§
source§impl<'de> Deserialize<'de> for Version
impl<'de> Deserialize<'de> for Version
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnwindSafe for Version
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more