pub trait GetField<T>: UnstableSealed {
// Required method
fn get_field(&self) -> T;
}
Expand description
A type that can return a certain field T
.
This is used as a bound on various datetime functions.
pub trait GetField<T>: UnstableSealed {
// Required method
fn get_field(&self) -> T;
}
A type that can return a certain field T
.
This is used as a bound on various datetime functions.