[][src]Struct gpsd_proto::DeviceInfo

pub struct DeviceInfo {
    pub path: Option<String>,
    pub activated: Option<String>,

Single device information as reported by gpsd.


path: Option<String>

Name the device for which the control bits are being reported, or for which they are to be applied. This attribute may be omitted only when there is exactly one subscribed channel.

activated: Option<String>

Time the device was activated as an ISO8601 timestamp. If the device is inactive this attribute is absent.

Trait Implementations

impl Debug for DeviceInfo[src]

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

Auto Trait Implementations

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<T> Borrow<T> for T where
    T: ?Sized

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

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