pub struct CapabilityInput {
pub can: Vec<String>,
pub with: ResourceInput,
}
Fields§
§can: Vec<String>
§with: ResourceInput
Trait Implementations§
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 CapabilityInput
impl RefUnwindSafe for CapabilityInput
impl Send for CapabilityInput
impl Sync for CapabilityInput
impl Unpin for CapabilityInput
impl UnwindSafe for CapabilityInput
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