pub trait Date {
// Required methods
fn year(&self) -> Option<u16>;
fn month(&self) -> Option<u8>;
fn day(&self) -> Option<u8>;
}Expand description
Represents the Temporenc “Date” component.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".