Struct seaplane_cli::cli::cmds::locks::SeaplaneLocksAcquire
source · 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
sourceimpl CliCommand for SeaplaneLocksAcquire
impl CliCommand for SeaplaneLocksAcquire
fn run(&self, ctx: &mut Ctx) -> Result<()>
fn update_ctx(&self, matches: &ArgMatches, ctx: &mut Ctx) -> Result<()>
fn next_subcmd<'a>(
&self,
_matches: &'a ArgMatches
) -> Option<(Box<dyn CliCommand>, &'a ArgMatches)>
sourceimpl Clone for SeaplaneLocksAcquire
impl Clone for SeaplaneLocksAcquire
sourcefn clone(&self) -> SeaplaneLocksAcquire
fn clone(&self) -> SeaplaneLocksAcquire
Returns a copy of the value. Read more
1.0.0 · sourcefn 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 RefUnwindSafe for SeaplaneLocksAcquire
impl Send for SeaplaneLocksAcquire
impl Sync for SeaplaneLocksAcquire
impl Unpin for SeaplaneLocksAcquire
impl UnwindSafe for SeaplaneLocksAcquire
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more