Type Definition elastic_types::date::ChronoDateTime
[−]
[src]
type ChronoDateTime = DateTime<Utc>;
A re-export of the chrono::DateTime
struct with Utc
timezone.
Trait Implementations
impl From<ChronoDateTime> for DateValue
[src]
fn from(date: ChronoDateTime) -> Self
[src]
Performs the conversion.
impl PartialEq<ChronoDateTime> for DateValue
[src]
fn eq(&self, other: &ChronoDateTime) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ChronoDateTime) -> bool
[src]
This method tests for !=
.
impl PartialEq<DateValue> for ChronoDateTime
[src]
fn eq(&self, other: &DateValue) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DateValue) -> bool
[src]
This method tests for !=
.
impl Borrow<ChronoDateTime> for DateValue
[src]
fn borrow(&self) -> &ChronoDateTime
[src]
Immutably borrows from an owned value. Read more
impl<TFormat> Borrow<ChronoDateTime> for FormattableDateValue<TFormat>
[src]
fn borrow(&self) -> &ChronoDateTime
[src]
Immutably borrows from an owned value. Read more
impl<TFormat> PartialEq<ChronoDateTime> for FormattableDateValue<TFormat>
[src]
fn eq(&self, other: &ChronoDateTime) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ChronoDateTime) -> bool
[src]
This method tests for !=
.
impl<TFormat> PartialEq<FormattableDateValue<TFormat>> for ChronoDateTime
[src]
fn eq(&self, other: &FormattableDateValue<TFormat>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &FormattableDateValue<TFormat>) -> bool
[src]
This method tests for !=
.
impl DateFieldType<DefaultDateMapping<ChronoFormat>> for ChronoDateTime
[src]
impl From<ChronoDateTime> for FormattableDateValue<ChronoFormat>
[src]
fn from(date: ChronoDateTime) -> Self
[src]
Performs the conversion.
impl<TMapping> PartialEq<ChronoDateTime> for Date<TMapping> where
TMapping: DateMapping,
[src]
TMapping: DateMapping,
fn eq(&self, other: &ChronoDateTime) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ChronoDateTime) -> bool
[src]
This method tests for !=
.
impl<TMapping> PartialEq<Date<TMapping>> for ChronoDateTime where
TMapping: DateMapping,
[src]
TMapping: DateMapping,
fn eq(&self, other: &Date<TMapping>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Date<TMapping>) -> bool
[src]
This method tests for !=
.
impl<TMapping> Borrow<ChronoDateTime> for Date<TMapping> where
TMapping: DateMapping,
[src]
TMapping: DateMapping,
fn borrow(&self) -> &ChronoDateTime
[src]
Immutably borrows from an owned value. Read more