pub struct CommandResource {
pub source: String,
pub guest_path: String,
pub access: ResourceAccess,
}Expand description
One opaque, boot-resolved resource made available to an exact command.
Fields§
§source: StringStable boot configuration identity.
guest_path: StringAbsolute guest path when sandboxed.
access: ResourceAccessExact access authority.
Trait Implementations§
Source§impl Clone for CommandResource
impl Clone for CommandResource
Source§fn clone(&self) -> CommandResource
fn clone(&self) -> CommandResource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CommandResource
impl Debug for CommandResource
impl Eq for CommandResource
Source§impl PartialEq for CommandResource
impl PartialEq for CommandResource
impl StructuralPartialEq for CommandResource
Auto Trait Implementations§
impl Freeze for CommandResource
impl RefUnwindSafe for CommandResource
impl Send for CommandResource
impl Sync for CommandResource
impl Unpin for CommandResource
impl UnsafeUnpin for CommandResource
impl UnwindSafe for CommandResource
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