pub trait ChronoFieldInner:
Debug
+ Copy
+ Scalar {
// Required methods
fn from_now() -> Self;
fn from_base(base: DateTime<FixedOffset>) -> Self;
fn minus(&self, duration: Duration) -> Self;
fn to_json(&self) -> Value;
}
Required Methods§
fn from_now() -> Self
fn from_base(base: DateTime<FixedOffset>) -> Self
fn minus(&self, duration: Duration) -> Self
fn to_json(&self) -> Value
Object Safety§
This trait is not object safe.