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.
๐ง This trait is considered unstable; it may change at any time, in breaking or non-breaking ways,
including in SemVer minor releases. Do not implement this trait in userland unless you are prepared for things to occasionally break.