Enum below_dump::command::DumpOptionField
source · [−]Expand description
Generic representation of fields accepted by different dump subcommands. Each DumpOptionField is either an aggregation of multiple FieldIds, or a “unit” field which could be either a CommonField or a FieldId.
Variants
Unit(DumpField<F>)
Agg(A)
Trait Implementations
Used by structopt to parse user provided –fields.
impl<F: PartialEq + FieldId, A: PartialEq + AggField<F>> PartialEq<DumpOptionField<F, A>> for DumpOptionField<F, A>
impl<F: PartialEq + FieldId, A: PartialEq + AggField<F>> PartialEq<DumpOptionField<F, A>> for DumpOptionField<F, A>
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Used for generating help string that lists all supported fields.
Auto Trait Implementations
impl<F, A> RefUnwindSafe for DumpOptionField<F, A> where
A: RefUnwindSafe,
F: RefUnwindSafe,
impl<F, A> Send for DumpOptionField<F, A> where
A: Send,
F: Send,
impl<F, A> Sync for DumpOptionField<F, A> where
A: Sync,
F: Sync,
impl<F, A> Unpin for DumpOptionField<F, A> where
A: Unpin,
F: Unpin,
impl<F, A> UnwindSafe for DumpOptionField<F, A> where
A: UnwindSafe,
F: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Calls the given closure and return the result. Read more
Calls the given closure on self.