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