pub struct BrokenDownTime {
pub year: i32,
pub month: u8,
pub day: u8,
pub hour: u8,
pub minute: u8,
pub second: u8,
}Expand description
A calendar date and time in UTC, as returned by X509::not_before_tm and
X509::not_after_tm.
All fields are in natural units (year is the full Gregorian year; month is 1–12; all time fields are 0-based).
Fields§
§year: i32Full Gregorian year (e.g. 2026).
month: u8Month, 1–12.
day: u8Day of the month, 1–31.
hour: u8Hour, 0–23.
minute: u8Minute, 0–59.
second: u8Second, 0–60 (60 is possible for leap seconds).
Trait Implementations§
Source§impl Clone for BrokenDownTime
impl Clone for BrokenDownTime
Source§fn clone(&self) -> BrokenDownTime
fn clone(&self) -> BrokenDownTime
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BrokenDownTime
impl Debug for BrokenDownTime
Source§impl PartialEq for BrokenDownTime
impl PartialEq for BrokenDownTime
impl Eq for BrokenDownTime
impl StructuralPartialEq for BrokenDownTime
Auto Trait Implementations§
impl Freeze for BrokenDownTime
impl RefUnwindSafe for BrokenDownTime
impl Send for BrokenDownTime
impl Sync for BrokenDownTime
impl Unpin for BrokenDownTime
impl UnwindSafe for BrokenDownTime
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more