pub enum DiffOutput {
Human,
Seconds,
Iso,
}Expand description
Output format for diff results.
Variants§
Human
Human-readable duration (e.g., “2 months, 14 days”)
Seconds
Total seconds between dates
Iso
ISO 8601 duration format (e.g., P2M14D)
Trait Implementations§
Source§impl Clone for DiffOutput
impl Clone for DiffOutput
Source§fn clone(&self) -> DiffOutput
fn clone(&self) -> DiffOutput
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 DiffOutput
impl Debug for DiffOutput
Source§impl ValueEnum for DiffOutput
impl ValueEnum for DiffOutput
Auto Trait Implementations§
impl Freeze for DiffOutput
impl RefUnwindSafe for DiffOutput
impl Send for DiffOutput
impl Sync for DiffOutput
impl Unpin for DiffOutput
impl UnsafeUnpin for DiffOutput
impl UnwindSafe for DiffOutput
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