pub struct SetHardwareComponentStateRes {
pub ok: bool,
pub state: State,
}Fields§
§ok: bool§state: StateTrait Implementations§
Source§impl Clone for SetHardwareComponentStateRes
impl Clone for SetHardwareComponentStateRes
Source§fn clone(&self) -> SetHardwareComponentStateRes
fn clone(&self) -> SetHardwareComponentStateRes
Returns a copy 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 SetHardwareComponentStateRes
impl Debug for SetHardwareComponentStateRes
Source§impl<'de> Deserialize<'de> for SetHardwareComponentStateRes
impl<'de> Deserialize<'de> for SetHardwareComponentStateRes
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 SetHardwareComponentStateRes
impl PartialEq for SetHardwareComponentStateRes
Source§fn eq(&self, other: &SetHardwareComponentStateRes) -> bool
fn eq(&self, other: &SetHardwareComponentStateRes) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Message for SetHardwareComponentStateRes
impl StructuralPartialEq for SetHardwareComponentStateRes
Auto Trait Implementations§
impl Freeze for SetHardwareComponentStateRes
impl RefUnwindSafe for SetHardwareComponentStateRes
impl Send for SetHardwareComponentStateRes
impl Sync for SetHardwareComponentStateRes
impl Unpin for SetHardwareComponentStateRes
impl UnwindSafe for SetHardwareComponentStateRes
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