Enum time::Format [−][src]
#[non_exhaustive]
pub enum Format {
Rfc3339,
Custom(String),
}
Expand description
Various well-known formats, along with the possibility for a custom format (provided either at compile-time or runtime).
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Rfc3339
Custom(String)
Tuple Fields
0: String
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Format
impl UnwindSafe for Format
Blanket Implementations
Mutably borrows from an owned value. Read more