#[repr(C)]pub struct statx_timestamp {
pub tv_sec: i64,
pub tv_nsec: u32,
/* private fields */
}Expand description
Timestamp structure for the timestamps in struct statx.
tv_sec holds the number of seconds before (negative) or after (positive) 00:00:00 1st January 1970 UTC.
tv_nsec holds a number of nanoseconds (0..999,999,999) after the tv_sec time.
__reserved is held in case we need a yet finer resolution.
Fields§
§tv_sec: i64§tv_nsec: u32Trait Implementations§
Source§impl Clone for statx_timestamp
impl Clone for statx_timestamp
Source§fn clone(&self) -> statx_timestamp
fn clone(&self) -> statx_timestamp
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 statx_timestamp
impl Debug for statx_timestamp
impl Copy for statx_timestamp
Auto Trait Implementations§
impl Freeze for statx_timestamp
impl RefUnwindSafe for statx_timestamp
impl Send for statx_timestamp
impl Sync for statx_timestamp
impl Unpin for statx_timestamp
impl UnwindSafe for statx_timestamp
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