pub struct Capability {
pub name: String,
pub description: String,
pub stability: String,
pub cost: String,
}Expand description
Individual capability
Fieldsยง
ยงname: StringCapability name
description: StringDescription
stability: StringStability: stable, beta, alpha
cost: StringCost metric (relative)
Trait Implementationsยง
Sourceยงimpl Clone for Capability
impl Clone for Capability
Sourceยงfn clone(&self) -> Capability
fn clone(&self) -> Capability
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 Capability
impl Debug for Capability
Sourceยงimpl<'de> Deserialize<'de> for Capability
impl<'de> Deserialize<'de> for Capability
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 Capability
impl RefUnwindSafe for Capability
impl Send for Capability
impl Sync for Capability
impl Unpin for Capability
impl UnsafeUnpin for Capability
impl UnwindSafe for Capability
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