Enum below_dump::CommonField
source · [−]pub enum CommonField {
Timestamp,
Datetime,
}Expand description
Fields available to all commands. Each enum represents some semantics and knows how to extract relevant data from a CommonFieldContext.
Variants
Timestamp
Datetime
Implementations
sourceimpl CommonField
impl CommonField
sourcepub fn get_render_config(&self) -> RenderConfig
pub fn get_render_config(&self) -> RenderConfig
Default RenderConfig for CommonField
sourceimpl CommonField
impl CommonField
pub fn get_field(&self, ctx: &CommonFieldContext) -> Option<Field>
Trait Implementations
sourceimpl Clone for CommonField
impl Clone for CommonField
sourcefn clone(&self) -> CommonField
fn clone(&self) -> CommonField
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 Debug for CommonField
impl Debug for CommonField
sourceimpl EnumIter for CommonField
impl EnumIter for CommonField
sourcefn unit_variant_iter() -> Box<dyn Iterator<Item = Self>>
fn unit_variant_iter() -> Box<dyn Iterator<Item = Self>>
Return iterator for unit variants only.
sourcefn all_variant_iter() -> Box<dyn Iterator<Item = Self>>
fn all_variant_iter() -> Box<dyn Iterator<Item = Self>>
Return iterator for unit variants as well as nested variants.
sourceimpl FromStr for CommonField
impl FromStr for CommonField
sourceimpl PartialEq<CommonField> for CommonField
impl PartialEq<CommonField> for CommonField
sourcefn eq(&self, other: &CommonField) -> bool
fn eq(&self, other: &CommonField) -> bool
sourceimpl ToString for CommonField
impl ToString for CommonField
impl StructuralPartialEq for CommonField
Auto Trait Implementations
impl RefUnwindSafe for CommonField
impl Send for CommonField
impl Sync for CommonField
impl Unpin for CommonField
impl UnwindSafe for CommonField
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