Struct time_format::Components
source · [−]pub struct Components {
pub sec: u8,
pub min: u8,
pub hour: u8,
pub month_day: u8,
pub month: u8,
pub year: i16,
pub week_day: u8,
pub year_day: u16,
}Expand description
Time components.
Fields
sec: u8Second.
min: u8Minute.
hour: u8Hour.
month_day: u8Day of month.
month: u8Month - January is 1, December is 12.
year: i16Year.
week_day: u8Day of week.
year_day: u16Day of year.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for Components
impl Send for Components
impl Sync for Components
impl Unpin for Components
impl UnwindSafe for Components
Blanket Implementations
Mutably borrows from an owned value. Read more