pub struct DeviceDataPoint {
pub device_type: Option<String>,
pub event_count: Option<i32>,
pub percentage: Option<f64>,
}Fields§
§device_type: Option<String>§event_count: Option<i32>§percentage: Option<f64>Implementations§
Source§impl DeviceDataPoint
impl DeviceDataPoint
pub fn new() -> DeviceDataPoint
Trait Implementations§
Source§impl Clone for DeviceDataPoint
impl Clone for DeviceDataPoint
Source§impl Debug for DeviceDataPoint
impl Debug for DeviceDataPoint
Source§impl Default for DeviceDataPoint
impl Default for DeviceDataPoint
Source§impl<'de> Deserialize<'de> for DeviceDataPoint
impl<'de> Deserialize<'de> for DeviceDataPoint
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 DeviceDataPoint
impl PartialEq for DeviceDataPoint
Source§impl Serialize for DeviceDataPoint
impl Serialize for DeviceDataPoint
impl StructuralPartialEq for DeviceDataPoint
Auto Trait Implementations§
impl Forget for DeviceDataPoint
impl Freeze for DeviceDataPoint
impl Move for DeviceDataPoint
impl RefUnwindSafe for DeviceDataPoint
impl Send for DeviceDataPoint
impl Sync for DeviceDataPoint
impl Unpin for DeviceDataPoint
impl UnsafeUnpin for DeviceDataPoint
impl UnwindSafe for DeviceDataPoint
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