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