pub struct HardwareComponentState {
pub name: String,
pub type_: String,
pub class_type: String,
pub plugin_name: String,
pub state: State,
pub command_interfaces: Vec<HardwareInterface>,
pub state_interfaces: Vec<HardwareInterface>,
}
Fields§
§name: String
§type_: String
§class_type: String
§plugin_name: String
§state: State
§command_interfaces: Vec<HardwareInterface>
§state_interfaces: Vec<HardwareInterface>
Trait Implementations§
Source§impl Clone for HardwareComponentState
impl Clone for HardwareComponentState
Source§fn clone(&self) -> HardwareComponentState
fn clone(&self) -> HardwareComponentState
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 HardwareComponentState
impl Debug for HardwareComponentState
Source§impl Default for HardwareComponentState
impl Default for HardwareComponentState
Source§impl<'de> Deserialize<'de> for HardwareComponentState
impl<'de> Deserialize<'de> for HardwareComponentState
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 HardwareComponentState
impl PartialEq for HardwareComponentState
Source§impl Serialize for HardwareComponentState
impl Serialize for HardwareComponentState
impl Message for HardwareComponentState
impl StructuralPartialEq for HardwareComponentState
Auto Trait Implementations§
impl Freeze for HardwareComponentState
impl RefUnwindSafe for HardwareComponentState
impl Send for HardwareComponentState
impl Sync for HardwareComponentState
impl Unpin for HardwareComponentState
impl UnwindSafe for HardwareComponentState
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