pub struct DeviceSummary {
pub name: String,
pub udid: String,
pub state: DeviceState,
}Expand description
Short summary of a device that is used as part of a device pair.
Fields§
§name: StringContains the name of this device.
udid: StringContains a unique identifier for this device.
state: DeviceStateContains the state of this device.
Trait Implementations§
Source§impl Clone for DeviceSummary
impl Clone for DeviceSummary
Source§fn clone(&self) -> DeviceSummary
fn clone(&self) -> DeviceSummary
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 DeviceSummary
impl Debug for DeviceSummary
Source§impl<'de> Deserialize<'de> for DeviceSummary
impl<'de> Deserialize<'de> for DeviceSummary
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 DeviceSummary
impl PartialEq for DeviceSummary
impl Eq for DeviceSummary
impl StructuralPartialEq for DeviceSummary
Auto Trait Implementations§
impl Freeze for DeviceSummary
impl RefUnwindSafe for DeviceSummary
impl Send for DeviceSummary
impl Sync for DeviceSummary
impl Unpin for DeviceSummary
impl UnwindSafe for DeviceSummary
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