Struct Devices
pub struct Devices {
pub devices: Vec<Device>,
pub remote: Option<String>,
}Expand description
Devices object.
Fields§
§devices: Vec<Device>List of device descriptions.
remote: Option<String>URL of the remote daemon reporting the device set.
If empty, this is a DEVICES response from the local daemon.
Trait Implementations§
§impl<'de> Deserialize<'de> for Devices
impl<'de> Deserialize<'de> for Devices
§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 Devices
impl RefUnwindSafe for Devices
impl Send for Devices
impl Sync for Devices
impl Unpin for Devices
impl UnsafeUnpin for Devices
impl UnwindSafe for Devices
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