pub struct CapAddArgs {
pub signing_key_id: ObjID,
pub modifying_ctx: ObjID,
pub target_obj: ObjID,
pub executing_ctx: Option<ObjID>,
}Fields§
§signing_key_id: ObjIDThe signing key of the object
modifying_ctx: ObjIDThe Security Context that will be modified.
target_obj: ObjIDThe target object this capability will be usable for.
executing_ctx: Option<ObjID>Optionally specify if this operation needs to be specified in a specific security context
Trait Implementations§
Source§impl Args for CapAddArgs
impl Args for CapAddArgs
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the [
ArgGroup::id][crate::ArgGroup::id] for this set of argumentsSource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to [
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read moreSource§impl Debug for CapAddArgs
impl Debug for CapAddArgs
Source§impl FromArgMatches for CapAddArgs
impl FromArgMatches for CapAddArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for CapAddArgs
impl ObjSafe for CapAddArgs
impl RefUnwindSafe for CapAddArgs
impl Send for CapAddArgs
impl StoreCopy for CapAddArgs
impl Sync for CapAddArgs
impl Unpin for CapAddArgs
impl UnwindSafe for CapAddArgs
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