pub struct DeviceStateRef {
pub device_type: u32,
pub device_id: String,
pub state: ObjectId,
}Expand description
One device-state object bound to its logical resource.
Fields§
§device_type: u32Virtio device type.
device_id: StringStable device identifier.
state: ObjectIdEncoded transport/device state object.
Trait Implementations§
Source§impl Clone for DeviceStateRef
impl Clone for DeviceStateRef
Source§fn clone(&self) -> DeviceStateRef
fn clone(&self) -> DeviceStateRef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeviceStateRef
impl Debug for DeviceStateRef
Source§impl<'de> Deserialize<'de> for DeviceStateRef
impl<'de> Deserialize<'de> for DeviceStateRef
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
impl Eq for DeviceStateRef
Source§impl PartialEq for DeviceStateRef
impl PartialEq for DeviceStateRef
Source§impl Serialize for DeviceStateRef
impl Serialize for DeviceStateRef
impl StructuralPartialEq for DeviceStateRef
Auto Trait Implementations§
impl Freeze for DeviceStateRef
impl RefUnwindSafe for DeviceStateRef
impl Send for DeviceStateRef
impl Sync for DeviceStateRef
impl Unpin for DeviceStateRef
impl UnsafeUnpin for DeviceStateRef
impl UnwindSafe for DeviceStateRef
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