Struct elastic::types::date::EpochMillis [] [src]

pub struct EpochMillis;

Format for epoch_millis.

Takes up to a 13 digit string of millis since the epoch and converts to a DateTime. This is an efficient formatter, so is a good choice for storing timestamps.

Links

Trait Implementations

impl Copy for EpochMillis
[src]

impl PartialEq<EpochMillis> for EpochMillis
[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 Clone for EpochMillis
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for EpochMillis
[src]

[src]

Returns the "default value" for a type. Read more

impl DateFormat for EpochMillis
[src]

[src]

The name of the format. Read more

[src]

Parses a date string to a chrono::DateTime<Utc> result.

[src]

Formats a given chrono::DateTime<Utc> as a string.

impl Debug for EpochMillis
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for EpochMillis

impl Sync for EpochMillis