pub trait ProstTimestampExt {
// Required method
fn to_chrono_datetime(&self) -> DateTime<Utc>;
// Provided method
fn to_timestamp_nanos(&self) -> u64 { ... }
}Required Methods§
fn to_chrono_datetime(&self) -> DateTime<Utc>
Provided Methods§
fn to_timestamp_nanos(&self) -> u64
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".