pub struct DeviceFace {
pub value: Option<Value>,
pub label: Option<Label>,
}Fields§
§value: Option<Value>front- Front *rear- Rear
label: Option<Label>Implementations§
Source§impl DeviceFace
impl DeviceFace
pub fn new() -> DeviceFace
Trait Implementations§
Source§impl Clone for DeviceFace
impl Clone for DeviceFace
Source§fn clone(&self) -> DeviceFace
fn clone(&self) -> DeviceFace
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 DeviceFace
impl Debug for DeviceFace
Source§impl Default for DeviceFace
impl Default for DeviceFace
Source§fn default() -> DeviceFace
fn default() -> DeviceFace
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceFace
impl<'de> Deserialize<'de> for DeviceFace
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 DeviceFace
impl PartialEq for DeviceFace
Source§impl Serialize for DeviceFace
impl Serialize for DeviceFace
impl StructuralPartialEq for DeviceFace
Auto Trait Implementations§
impl Freeze for DeviceFace
impl RefUnwindSafe for DeviceFace
impl Send for DeviceFace
impl Sync for DeviceFace
impl Unpin for DeviceFace
impl UnwindSafe for DeviceFace
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