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§
Implementations§
Source§impl CommonField
impl CommonField
Sourcepub fn get_render_config(&self) -> RenderConfig
pub fn get_render_config(&self) -> RenderConfig
Default RenderConfig for CommonField
Source§impl CommonField
impl CommonField
pub fn get_field(&self, ctx: &CommonFieldContext) -> Option<Field>
Trait Implementations§
Source§impl Clone for CommonField
impl Clone for CommonField
Source§fn clone(&self) -> CommonField
fn clone(&self) -> CommonField
Returns a duplicate 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 Debug for CommonField
impl Debug for CommonField
Source§impl Display for CommonField
impl Display for CommonField
Source§impl FromStr for CommonField
impl FromStr for CommonField
Source§impl PartialEq for CommonField
impl PartialEq for CommonField
Source§impl Sequence for CommonField
impl Sequence for CommonField
impl StructuralPartialEq for CommonField
Auto Trait Implementations§
impl Freeze for CommonField
impl RefUnwindSafe for CommonField
impl Send for CommonField
impl Sync for CommonField
impl Unpin for CommonField
impl UnwindSafe for CommonField
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