pub struct CapabilityState {
pub type_: String,
pub instance: String,
pub state: StateValue,
}Expand description
The current state of a single capability instance.
Fields§
§type_: String§instance: String§state: StateValueTrait Implementations§
Source§impl Clone for CapabilityState
impl Clone for CapabilityState
Source§fn clone(&self) -> CapabilityState
fn clone(&self) -> CapabilityState
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 CapabilityState
impl Debug for CapabilityState
Source§impl<'de> Deserialize<'de> for CapabilityState
impl<'de> Deserialize<'de> for CapabilityState
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 CapabilityState
impl RefUnwindSafe for CapabilityState
impl Send for CapabilityState
impl Sync for CapabilityState
impl Unpin for CapabilityState
impl UnsafeUnpin for CapabilityState
impl UnwindSafe for CapabilityState
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