pub enum AgentSubcommand {
Add {
label: String,
key: String,
curve: String,
scope: Vec<String>,
expires_in: Option<i64>,
},
Rotate {
agent_did: String,
key: String,
},
Revoke {
agent_did: String,
key: String,
},
List {
include_revoked: bool,
},
}Expand description
Agent subcommands.
Variants§
Add
Delegate a new agent as a KERI delegated identifier of your root identity.
Fields
Rotate
Rotate a delegated agent’s key (drt), anchored by your root identity.
Fields
Revoke
Revoke a delegated agent (anchors a revocation seal in your root’s KEL).
Fields
List
List the agents this identity has delegated (excludes devices).
Trait Implementations§
Source§impl Clone for AgentSubcommand
impl Clone for AgentSubcommand
Source§fn clone(&self) -> AgentSubcommand
fn clone(&self) -> AgentSubcommand
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 AgentSubcommand
impl Debug for AgentSubcommand
Source§impl FromArgMatches for AgentSubcommand
impl FromArgMatches for AgentSubcommand
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<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Subcommand for AgentSubcommand
impl Subcommand for AgentSubcommand
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for AgentSubcommand
impl RefUnwindSafe for AgentSubcommand
impl Send for AgentSubcommand
impl Sync for AgentSubcommand
impl Unpin for AgentSubcommand
impl UnsafeUnpin for AgentSubcommand
impl UnwindSafe for AgentSubcommand
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