pub struct CapabilitySpec {
pub name: String,
pub value: Option<String>,
pub enabled: bool,
}Expand description
A capability with its value and enabled state
Fieldsยง
ยงname: Stringยงvalue: Option<String>ยงenabled: boolTrait Implementationsยง
Sourceยงimpl Clone for CapabilitySpec
impl Clone for CapabilitySpec
Sourceยงfn clone(&self) -> CapabilitySpec
fn clone(&self) -> CapabilitySpec
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 moreAuto Trait Implementationsยง
impl Freeze for CapabilitySpec
impl RefUnwindSafe for CapabilitySpec
impl Send for CapabilitySpec
impl Sync for CapabilitySpec
impl Unpin for CapabilitySpec
impl UnsafeUnpin for CapabilitySpec
impl UnwindSafe for CapabilitySpec
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