pub struct GPS {
pub version: Value,
pub watch: Value,
pub devices: Value,
/* private fields */
}Expand description
This struct holds the connection to the gpsd socket server and version, watch and devices information from gpsd. For more information about version, watch and devices visit https://gpsd.io/gpsd_json.html.
Fields§
§version: ValueThe daemon ships a VERSION response to each client when the client first connects to it. Object is in json format.
watch: ValueIt also sets or elicits a report of per-subscriber policy and the raw bit. Object is in json format.
devices: ValueDevice list object in json format.
Implementations§
Source§impl GPS
impl GPS
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GPS
impl RefUnwindSafe for GPS
impl Send for GPS
impl Sync for GPS
impl Unpin for GPS
impl UnwindSafe for GPS
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