pub struct SeaplaneLocksAcquire;Expand description
A newtype wrapper to enforce where the ArgMatches came from which reduces errors in checking if
values of arguments were used or not. i.e. seaplane locks acquire may not have the same
arguments as seaplane account token even though both produce an ArgMatches.
Implementations§
Trait Implementations§
Source§impl CliCommand for SeaplaneLocksAcquire
impl CliCommand for SeaplaneLocksAcquire
fn run(&self, ctx: &mut Ctx) -> Result<()>
Source§fn update_ctx(&self, matches: &ArgMatches, ctx: &mut Ctx) -> Result<()>
fn update_ctx(&self, matches: &ArgMatches, ctx: &mut Ctx) -> Result<()>
Care should be taken to keep CliCommand::update_ctx pure with no external effects such as
I/O. This allows the CLI to be fully tested without any assumptions of the testing
environment
fn next_subcmd<'a>( &self, _matches: &'a ArgMatches, ) -> Option<(Box<dyn CliCommand>, &'a ArgMatches)>
Source§impl Clone for SeaplaneLocksAcquire
impl Clone for SeaplaneLocksAcquire
Source§fn clone(&self) -> SeaplaneLocksAcquire
fn clone(&self) -> SeaplaneLocksAcquire
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 moreimpl Copy for SeaplaneLocksAcquire
Auto Trait Implementations§
impl Freeze for SeaplaneLocksAcquire
impl RefUnwindSafe for SeaplaneLocksAcquire
impl Send for SeaplaneLocksAcquire
impl Sync for SeaplaneLocksAcquire
impl Unpin for SeaplaneLocksAcquire
impl UnwindSafe for SeaplaneLocksAcquire
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