pub struct ComponentStatus {
pub name: String,
pub component_type: String,
pub info: StatusInfo,
pub traits: Vec<TraitStatus>,
}
Expand description
The current status of a component
Fields§
§name: String
§component_type: String
§info: StatusInfo
§traits: Vec<TraitStatus>
Trait Implementations§
Source§impl Clone for ComponentStatus
impl Clone for ComponentStatus
Source§fn clone(&self) -> ComponentStatus
fn clone(&self) -> ComponentStatus
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 ComponentStatus
impl Debug for ComponentStatus
Source§impl Default for ComponentStatus
impl Default for ComponentStatus
Source§fn default() -> ComponentStatus
fn default() -> ComponentStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ComponentStatus
impl<'de> Deserialize<'de> for ComponentStatus
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 From<ComponentStatus> for ComponentStatus
impl From<ComponentStatus> for ComponentStatus
Source§fn from(status: ComponentStatus) -> Self
fn from(status: ComponentStatus) -> Self
Converts to this type from the input type.
Source§impl From<ComponentStatus> for ComponentStatus
impl From<ComponentStatus> for ComponentStatus
Source§fn from(component_status: ComponentStatus) -> Self
fn from(component_status: ComponentStatus) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ComponentStatus
impl PartialEq for ComponentStatus
Source§impl Serialize for ComponentStatus
impl Serialize for ComponentStatus
impl Eq for ComponentStatus
impl StructuralPartialEq for ComponentStatus
Auto Trait Implementations§
impl Freeze for ComponentStatus
impl RefUnwindSafe for ComponentStatus
impl Send for ComponentStatus
impl Sync for ComponentStatus
impl Unpin for ComponentStatus
impl UnwindSafe for ComponentStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.