Enum chrono_humanize::Accuracy [] [src]

pub enum Accuracy {
    Rough,
    Precise,
}

The accuracy of the representation

Variants

Rough approximation, easy to grasp, but not necessarily accurate

Concise expression, accurate, but not necessarily easy to grasp

Methods

impl Accuracy
[src]

[src]

Returns whether this accuracy is precise

[src]

Returns whether this accuracy is rough

Trait Implementations

impl Clone for Accuracy
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Accuracy
[src]

impl Debug for Accuracy
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Accuracy
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl From<bool> for Accuracy
[src]

[src]

Performs the conversion.