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
sourceimpl<F: Clone + FieldId, A: Clone + AggField<F>> Clone for DumpOptionField<F, A>
impl<F: Clone + FieldId, A: Clone + AggField<F>> Clone for DumpOptionField<F, A>
sourcefn clone(&self) -> DumpOptionField<F, A>
fn clone(&self) -> DumpOptionField<F, A>
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 moresourceimpl<F: FieldId + FromStr, A: AggField<F> + FromStr> FromStr for DumpOptionField<F, A>
impl<F: FieldId + FromStr, A: AggField<F> + FromStr> FromStr for DumpOptionField<F, A>
Used by Clap to parse user provided –fields.
sourceimpl<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>
sourcefn eq(&self, other: &DumpOptionField<F, A>) -> bool
fn eq(&self, other: &DumpOptionField<F, A>) -> bool
sourceimpl<F: FieldId + ToString, A: AggField<F> + ToString> ToString for DumpOptionField<F, A>
impl<F: FieldId + ToString, A: AggField<F> + ToString> ToString for DumpOptionField<F, A>
Used for generating help string that lists all supported fields.
impl<F: FieldId, A: AggField<F>> StructuralPartialEq for DumpOptionField<F, A>
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
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