Skip to main content

DateTime

Type Alias DateTime 

Source
pub type DateTime = OffsetDateTime;
Available on (crate features chrono or jetstream or service) and non-crate feature chrono only.
Expand description

The datetime type used across the JetStream and Service APIs.

Defaults to time::OffsetDateTime; becomes chrono::DateTime<chrono::Utc> when the chrono feature is enabled. Enabling chrono anywhere in the dependency graph changes this type for the whole build; see the module docs for the feature-unification caveat.

Aliased Typeยง

pub struct DateTime { /* private fields */ }