pub enum TimestampMode {
Always,
Automatic {
mark_added_timestamps: bool,
},
Never,
}Variants§
Always
Always add a timestamp
Automatic
Add a timestamp if none is found, checking each line
Fields
Never
Never add timestamps, assumes the application reliably adds them
Trait Implementations§
Source§impl Clone for TimestampMode
impl Clone for TimestampMode
Source§fn clone(&self) -> TimestampMode
fn clone(&self) -> TimestampMode
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 moreAuto Trait Implementations§
impl Freeze for TimestampMode
impl RefUnwindSafe for TimestampMode
impl Send for TimestampMode
impl Sync for TimestampMode
impl Unpin for TimestampMode
impl UnwindSafe for TimestampMode
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