pub struct DeviceResult {
pub device_id: String,
pub outcome: String,
pub elapsed_ms: u128,
pub capture: Option<Capture>,
pub error: Option<String>,
pub path: Option<String>,
}Expand description
One device’s result, including the failure case.
Fields§
§device_id: String§outcome: String§elapsed_ms: u128§capture: Option<Capture>§error: Option<String>§path: Option<String>Trait Implementations§
Source§impl Clone for DeviceResult
impl Clone for DeviceResult
Source§fn clone(&self) -> DeviceResult
fn clone(&self) -> DeviceResult
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 DeviceResult
impl Debug for DeviceResult
Source§impl<'de> Deserialize<'de> for DeviceResult
impl<'de> Deserialize<'de> for DeviceResult
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
Auto Trait Implementations§
impl Freeze for DeviceResult
impl RefUnwindSafe for DeviceResult
impl Send for DeviceResult
impl Sync for DeviceResult
impl Unpin for DeviceResult
impl UnsafeUnpin for DeviceResult
impl UnwindSafe for DeviceResult
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