pub struct RotateNowCommand {
pub current_alias: Option<String>,
pub next_alias: Option<String>,
pub yes: bool,
pub dry_run: bool,
pub reason: Option<String>,
pub repo: Option<PathBuf>,
}Expand description
Force immediate key rotation.
Fields§
§current_alias: Option<String>Local alias of the current signing key.
next_alias: Option<String>Local alias for the new signing key after rotation.
yes: boolSkip confirmation prompt (requires typing ROTATE).
dry_run: boolPreview actions without making changes.
reason: Option<String>Reason for rotation.
repo: Option<PathBuf>Path to the Auths repository.
Trait Implementations§
Source§impl Args for RotateNowCommand
impl Args for RotateNowCommand
Source§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 Clone for RotateNowCommand
impl Clone for RotateNowCommand
Source§fn clone(&self) -> RotateNowCommand
fn clone(&self) -> RotateNowCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl CommandFactory for RotateNowCommand
impl CommandFactory for RotateNowCommand
Source§impl Debug for RotateNowCommand
impl Debug for RotateNowCommand
Source§impl FromArgMatches for RotateNowCommand
impl FromArgMatches for RotateNowCommand
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.Source§impl Parser for RotateNowCommand
impl Parser for RotateNowCommand
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error.
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Freeze for RotateNowCommand
impl RefUnwindSafe for RotateNowCommand
impl Send for RotateNowCommand
impl Sync for RotateNowCommand
impl Unpin for RotateNowCommand
impl UnsafeUnpin for RotateNowCommand
impl UnwindSafe for RotateNowCommand
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