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), }
A response from GPSD.
For single-struct variants, the documentation on the struct usually has more information.
Variants
Tpv(TpvResponse)
Sky(SkyResponse)
Poll
Data from the last-seen fixes on all active GPS devices.
Fields of Poll
time: DateTime<Utc> | |
active: u32 | Count of active devices. |
tpv: Vec<TpvResponse> | |
sky: Vec<SkyResponse> |
Device(DeviceObject)
Devices
Fields of Devices
devices: Vec<DeviceObject> | |
remote: Option<String> |
Watch(WatchObject)
Version
Fields of Version
release: String | |
rev: String | |
proto_major: u32 | |
proto_minor: u32 | |
remote: Option<String> |
Error
Fields of Error
message: String |
Raw(String)