pub struct Telemetry {
pub battery: Battery,
pub odometer: Odometer,
pub health: Health,
pub event_updated_timestamp: Option<Timestamp>,
}Expand description
Complete telemetry response from the API.
Fields§
§battery: BatteryBattery and charging information.
odometer: OdometerOdometer and speed information.
health: HealthVehicle health and status.
event_updated_timestamp: Option<Timestamp>Event timestamp.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Telemetry
impl<'de> Deserialize<'de> for Telemetry
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 Freeze for Telemetry
impl RefUnwindSafe for Telemetry
impl Send for Telemetry
impl Sync for Telemetry
impl Unpin for Telemetry
impl UnwindSafe for Telemetry
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