Struct elastic_types::date::ChronoFormat
[−]
[src]
pub struct ChronoFormat;
Format for default chrono::DateTime
.
Trait Implementations
impl DateFormat for ChronoFormat
[src]
fn parse(date: &str) -> Result<DateValue, ParseError>
[src]
Parses a date string to a chrono::DateTime<Utc>
result.
fn format<'a>(date: &'a DateValue) -> FormattedDate<'a>
[src]
Formats a given chrono::DateTime<Utc>
as a string.
fn name() -> &'static str
[src]
The name of the format. Read more
impl PartialEq for ChronoFormat
[src]
fn eq(&self, __arg_0: &ChronoFormat) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Debug for ChronoFormat
[src]
impl Default for ChronoFormat
[src]
fn default() -> ChronoFormat
[src]
Returns the "default value" for a type. Read more
impl Clone for ChronoFormat
[src]
fn clone(&self) -> ChronoFormat
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more