#[repr(C)]pub struct _cef_time_t {
pub year: c_int,
pub month: c_int,
pub day_of_week: c_int,
pub day_of_month: c_int,
pub hour: c_int,
pub minute: c_int,
pub second: c_int,
pub millisecond: c_int,
}Expand description
Time information. Values should always be in UTC.
Fields§
§year: c_intFour or five digit year “2007” (1601 to 30827 on Windows, 1970 to 2038 on 32-bit POSIX)
month: c_int1-based month (values 1 = January, etc.)
day_of_week: c_int0-based day of week (0 = Sunday, etc.)
day_of_month: c_int1-based day of month (1-31)
hour: c_intHour within the current day (0-23)
minute: c_intMinute within the current hour (0-59)
second: c_intSecond within the current minute (0-59 plus leap seconds which may take it up to 60).
millisecond: c_intMilliseconds within the current second (0-999)
Trait Implementations§
Source§impl Clone for _cef_time_t
impl Clone for _cef_time_t
Source§fn clone(&self) -> _cef_time_t
fn clone(&self) -> _cef_time_t
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 _cef_time_t
impl Debug for _cef_time_t
impl Copy for _cef_time_t
Auto Trait Implementations§
impl Freeze for _cef_time_t
impl RefUnwindSafe for _cef_time_t
impl Send for _cef_time_t
impl Sync for _cef_time_t
impl Unpin for _cef_time_t
impl UnwindSafe for _cef_time_t
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