pub enum Style {
LONG,
HUMAN,
SHORT,
}
👎Deprecated since 0.1.0: Use Formatter or format_5chars
Expand description
Simple formatting style for deprecated format
.
Variants§
LONG
👎Deprecated since 0.1.0: Use Formatter or format_5chars
Long format, like “2 years ago”
HUMAN
👎Deprecated since 0.1.0: Use Formatter or format_5chars
Human format, like LONG but makes less than 1 second as just now
SHORT
👎Deprecated since 0.1.0: Use Formatter or format_5chars
Short format, like “02Yea”. Should be exactly 5 characters.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Style
impl Send for Style
impl Sync for Style
impl Unpin for Style
impl UnwindSafe for Style
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