pub struct FieldDeviceCoreDetails {Show 18 fields
pub device_type: String,
pub data_source_id: String,
pub device_status: String,
pub update_date: String,
pub has_automatic_location: bool,
pub road_direction: Option<String>,
pub road_names: Option<Vec<String>>,
pub name: Option<String>,
pub description: Option<String>,
pub status_message: Option<Vec<String>>,
pub is_moving: Option<bool>,
pub road_event_ids: Option<Vec<String>>,
pub milepost: Option<f64>,
pub make: Option<String>,
pub model: Option<String>,
pub serial_number: Option<String>,
pub firmware_version: Option<String>,
pub velocity_kph: Option<f64>,
}Fields§
§device_type: String§data_source_id: String§device_status: String§update_date: String§has_automatic_location: bool§road_direction: Option<String>§road_names: Option<Vec<String>>§name: Option<String>§description: Option<String>§status_message: Option<Vec<String>>§is_moving: Option<bool>§road_event_ids: Option<Vec<String>>§milepost: Option<f64>§make: Option<String>§model: Option<String>§serial_number: Option<String>§firmware_version: Option<String>§velocity_kph: Option<f64>Trait Implementations§
Source§impl Clone for FieldDeviceCoreDetails
impl Clone for FieldDeviceCoreDetails
Source§fn clone(&self) -> FieldDeviceCoreDetails
fn clone(&self) -> FieldDeviceCoreDetails
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FieldDeviceCoreDetails
impl Debug for FieldDeviceCoreDetails
Source§impl Default for FieldDeviceCoreDetails
impl Default for FieldDeviceCoreDetails
Source§fn default() -> FieldDeviceCoreDetails
fn default() -> FieldDeviceCoreDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FieldDeviceCoreDetails
impl<'de> Deserialize<'de> for FieldDeviceCoreDetails
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
Source§impl PartialEq for FieldDeviceCoreDetails
impl PartialEq for FieldDeviceCoreDetails
Source§impl PartialOrd for FieldDeviceCoreDetails
impl PartialOrd for FieldDeviceCoreDetails
Source§impl Serialize for FieldDeviceCoreDetails
impl Serialize for FieldDeviceCoreDetails
impl StructuralPartialEq for FieldDeviceCoreDetails
Auto Trait Implementations§
impl Freeze for FieldDeviceCoreDetails
impl RefUnwindSafe for FieldDeviceCoreDetails
impl Send for FieldDeviceCoreDetails
impl Sync for FieldDeviceCoreDetails
impl Unpin for FieldDeviceCoreDetails
impl UnwindSafe for FieldDeviceCoreDetails
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more