Struct seaplane_cli::cli::cmds::restrict::common::SeaplaneRestrictCommonArgMatches
source · pub struct SeaplaneRestrictCommonArgMatches<'a>(pub &'a ArgMatches);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 formation create may not have the same arguments as seaplane account token even though both produce an ArgMatches.
Tuple Fields
0: &'a ArgMatchesTrait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for SeaplaneRestrictCommonArgMatches<'a>
impl<'a> Send for SeaplaneRestrictCommonArgMatches<'a>
impl<'a> Sync for SeaplaneRestrictCommonArgMatches<'a>
impl<'a> Unpin for SeaplaneRestrictCommonArgMatches<'a>
impl<'a> !UnwindSafe for SeaplaneRestrictCommonArgMatches<'a>
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