pub struct ComponentCapability {
pub id: String,
pub required: bool,
pub description: Option<String>,
}Expand description
A capability required or optionally used by the component.
Fields§
§id: String§required: bool§description: Option<String>Trait Implementations§
Source§impl Clone for ComponentCapability
impl Clone for ComponentCapability
Source§fn clone(&self) -> ComponentCapability
fn clone(&self) -> ComponentCapability
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 ComponentCapability
impl Debug for ComponentCapability
Source§impl<'de> Deserialize<'de> for ComponentCapability
impl<'de> Deserialize<'de> for ComponentCapability
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 ComponentCapability
impl RefUnwindSafe for ComponentCapability
impl Send for ComponentCapability
impl Sync for ComponentCapability
impl Unpin for ComponentCapability
impl UnsafeUnpin for ComponentCapability
impl UnwindSafe for ComponentCapability
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