pub type Timestamp = DateTime<Utc>;Expand description
A point in time, stored as TIMESTAMPTZ (Postgres) or ISO-8601 text
(SQLite).
Aliased Type§
pub struct Timestamp { /* private fields */ }Trait Implementations§
Source§impl Cast for Timestamp
RFC 3339 (2026-10-03T12:00:00Z), an HTML datetime-local value
(2026-10-03T12:00, read as UTC), or a timestamp as Rust displays one
(2026-10-03 12:00:00.25, with UTC or without).
impl Cast for Timestamp
RFC 3339 (2026-10-03T12:00:00Z), an HTML datetime-local value
(2026-10-03T12:00, read as UTC), or a timestamp as Rust displays one
(2026-10-03 12:00:00.25, with UTC or without).
Source§impl IntoField<NaiveDateTime> for Timestamp
impl IntoField<NaiveDateTime> for Timestamp
fn into_field(self) -> NaiveTimestamp
Source§impl IntoField<Option<NaiveDateTime>> for Timestamp
A time into a column without a zone, as Rails keeps them (in UTC).
impl IntoField<Option<NaiveDateTime>> for Timestamp
A time into a column without a zone, as Rails keeps them (in UTC).