Enum unbounded_gpsd::types::Response [−][src]
pub enum Response { Tpv(TpvResponse), Sky(SkyResponse), Poll { time: DateTime<Utc>, active: u32, tpv: Vec<TpvResponse>, sky: Vec<SkyResponse>, }, Device(DeviceObject), Devices { devices: Vec<DeviceObject>, remote: Option<String>, }, Watch(WatchObject), Version { release: String, rev: String, proto_major: u32, proto_minor: u32, remote: Option<String>, }, Error { message: String, }, Raw(String), }
Expand description
A response from GPSD.
For single-struct variants, the documentation on the struct usually has more information.
Variants
Tpv(TpvResponse)
Sky(SkyResponse)
Data from the last-seen fixes on all active GPS devices.
Show fields
Fields of Poll
Device(DeviceObject)
Show fields
Fields of Devices
devices: Vec<DeviceObject>
remote: Option<String>
Watch(WatchObject)
Show fields
Show fields
Fields of Error
message: String
Raw(String)
Trait Implementations
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 Response
impl UnwindSafe for Response