pub struct Capability {
pub can: Vec<String>,
pub with: Resource,
}
Fields§
§can: Vec<String>
§with: Resource
Trait Implementations§
Source§impl Debug for Capability
impl Debug for Capability
Source§impl From<Capability> for CapabilityInput
impl From<Capability> for CapabilityInput
Source§fn from(cap: Capability) -> Self
fn from(cap: Capability) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Capability
impl RefUnwindSafe for Capability
impl Send for Capability
impl Sync for Capability
impl Unpin 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