Struct elastic::types::prelude::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 DateFormat for EpochMillis
[src]

The name of the format. Read more

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

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

impl Default for EpochMillis
[src]

impl Copy for EpochMillis
[src]

impl PartialEq<EpochMillis> for EpochMillis
[src]

impl Debug for EpochMillis
[src]

Formats the value using the given formatter.

impl Clone for EpochMillis
[src]