pub struct SubcommandOverridesAndArgumentsContext<__T0, __T1, __T2> {
pub subcommand: __T0,
pub overrides: __T1,
pub arguments: __T2,
}
Expand description
SNAFU context selector for the ConfigError::SubcommandOverridesAndArguments
variant
Fieldsยง
ยงsubcommand: __T0
ยงoverrides: __T1
ยงarguments: __T2
Implementationsยง
Sourceยงimpl<__T0, __T1, __T2> SubcommandOverridesAndArgumentsContext<__T0, __T1, __T2>
impl<__T0, __T1, __T2> SubcommandOverridesAndArgumentsContext<__T0, __T1, __T2>
Sourcepub fn build(self) -> ConfigError
pub fn build(self) -> ConfigError
Consume the selector and return the associated error
Trait Implementationsยง
Sourceยงimpl<__T0: Clone, __T1: Clone, __T2: Clone> Clone for SubcommandOverridesAndArgumentsContext<__T0, __T1, __T2>
impl<__T0: Clone, __T1: Clone, __T2: Clone> Clone for SubcommandOverridesAndArgumentsContext<__T0, __T1, __T2>
Sourceยงfn clone(&self) -> SubcommandOverridesAndArgumentsContext<__T0, __T1, __T2>
fn clone(&self) -> SubcommandOverridesAndArgumentsContext<__T0, __T1, __T2>
Returns a copy 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<__T0: Debug, __T1: Debug, __T2: Debug> Debug for SubcommandOverridesAndArgumentsContext<__T0, __T1, __T2>
impl<__T0: Debug, __T1: Debug, __T2: Debug> Debug for SubcommandOverridesAndArgumentsContext<__T0, __T1, __T2>
Sourceยงimpl<__T0, __T1, __T2> IntoError<ConfigError> for SubcommandOverridesAndArgumentsContext<__T0, __T1, __T2>
impl<__T0, __T1, __T2> IntoError<ConfigError> for SubcommandOverridesAndArgumentsContext<__T0, __T1, __T2>
Sourceยงfn into_error(self, error: Self::Source) -> ConfigError
fn into_error(self, error: Self::Source) -> ConfigError
Combine the information to produce the error
impl<__T0: Copy, __T1: Copy, __T2: Copy> Copy for SubcommandOverridesAndArgumentsContext<__T0, __T1, __T2>
Auto Trait Implementationsยง
impl<__T0, __T1, __T2> Freeze for SubcommandOverridesAndArgumentsContext<__T0, __T1, __T2>
impl<__T0, __T1, __T2> RefUnwindSafe for SubcommandOverridesAndArgumentsContext<__T0, __T1, __T2>
impl<__T0, __T1, __T2> Send for SubcommandOverridesAndArgumentsContext<__T0, __T1, __T2>
impl<__T0, __T1, __T2> Sync for SubcommandOverridesAndArgumentsContext<__T0, __T1, __T2>
impl<__T0, __T1, __T2> Unpin for SubcommandOverridesAndArgumentsContext<__T0, __T1, __T2>
impl<__T0, __T1, __T2> UnwindSafe for SubcommandOverridesAndArgumentsContext<__T0, __T1, __T2>
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