#[repr(C)]pub struct apr_time_exp_t {
pub tm_usec: apr_int32_t,
pub tm_sec: apr_int32_t,
pub tm_min: apr_int32_t,
pub tm_hour: apr_int32_t,
pub tm_mday: apr_int32_t,
pub tm_mon: apr_int32_t,
pub tm_year: apr_int32_t,
pub tm_wday: apr_int32_t,
pub tm_yday: apr_int32_t,
pub tm_isdst: apr_int32_t,
pub tm_gmtoff: apr_int32_t,
}Expand description
a structure similar to ANSI struct tm with the following differences:
- tm_usec isn’t an ANSI field
- tm_gmtoff isn’t an ANSI field (it’s a BSDism)
Fields§
§tm_usec: apr_int32_tmicroseconds past tm_sec
tm_sec: apr_int32_t(0-61) seconds past tm_min
tm_min: apr_int32_t(0-59) minutes past tm_hour
tm_hour: apr_int32_t(0-23) hours past midnight
tm_mday: apr_int32_t(1-31) day of the month
tm_mon: apr_int32_t(0-11) month of the year
tm_year: apr_int32_tyear since 1900
tm_wday: apr_int32_t(0-6) days since Sunday
tm_yday: apr_int32_t(0-365) days since January 1
tm_isdst: apr_int32_tdaylight saving time
tm_gmtoff: apr_int32_tseconds east of UTC
Trait Implementations§
Source§impl Clone for apr_time_exp_t
impl Clone for apr_time_exp_t
Source§fn clone(&self) -> apr_time_exp_t
fn clone(&self) -> apr_time_exp_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 apr_time_exp_t
impl Debug for apr_time_exp_t
impl Copy for apr_time_exp_t
Auto Trait Implementations§
impl Freeze for apr_time_exp_t
impl RefUnwindSafe for apr_time_exp_t
impl Send for apr_time_exp_t
impl Sync for apr_time_exp_t
impl Unpin for apr_time_exp_t
impl UnsafeUnpin for apr_time_exp_t
impl UnwindSafe for apr_time_exp_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