pub trait ToUnixSeconds {
// Required method
fn to_unix_seconds(&self) -> i64;
}Expand description
Serialize outbound unix seconds for APIs and legacy payloads.
Required Methods§
fn to_unix_seconds(&self) -> i64
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".