pub struct DeviceFactSnapshot {
pub data: DeviceFacts,
pub connection: Uuid,
pub created: String,
pub expires: Option<String>,
pub vendor: VendorEnum,
}Fields§
§data: DeviceFacts§connection: Uuid§created: String§expires: Option<String>§vendor: VendorEnumImplementations§
Source§impl DeviceFactSnapshot
impl DeviceFactSnapshot
pub fn new( data: DeviceFacts, connection: Uuid, created: String, expires: Option<String>, vendor: VendorEnum, ) -> DeviceFactSnapshot
Trait Implementations§
Source§impl Clone for DeviceFactSnapshot
impl Clone for DeviceFactSnapshot
Source§fn clone(&self) -> DeviceFactSnapshot
fn clone(&self) -> DeviceFactSnapshot
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 DeviceFactSnapshot
impl Debug for DeviceFactSnapshot
Source§impl Default for DeviceFactSnapshot
impl Default for DeviceFactSnapshot
Source§fn default() -> DeviceFactSnapshot
fn default() -> DeviceFactSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceFactSnapshot
impl<'de> Deserialize<'de> for DeviceFactSnapshot
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 DeviceFactSnapshot
impl PartialEq for DeviceFactSnapshot
Source§impl Serialize for DeviceFactSnapshot
impl Serialize for DeviceFactSnapshot
impl StructuralPartialEq for DeviceFactSnapshot
Auto Trait Implementations§
impl Freeze for DeviceFactSnapshot
impl RefUnwindSafe for DeviceFactSnapshot
impl Send for DeviceFactSnapshot
impl Sync for DeviceFactSnapshot
impl Unpin for DeviceFactSnapshot
impl UnsafeUnpin for DeviceFactSnapshot
impl UnwindSafe for DeviceFactSnapshot
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