Struct nc::types::statx_timestamp_t
source · #[repr(C)]pub struct statx_timestamp_t {
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.
Fields§
§tv_sec: i64
§tv_nsec: u32
Trait Implementations§
source§impl Clone for statx_timestamp_t
impl Clone for statx_timestamp_t
source§fn clone(&self) -> statx_timestamp_t
fn clone(&self) -> statx_timestamp_t
Returns a copy 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_t
impl Debug for statx_timestamp_t
source§impl Default for statx_timestamp_t
impl Default for statx_timestamp_t
source§fn default() -> statx_timestamp_t
fn default() -> statx_timestamp_t
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for statx_timestamp_t
impl RefUnwindSafe for statx_timestamp_t
impl Send for statx_timestamp_t
impl Sync for statx_timestamp_t
impl Unpin for statx_timestamp_t
impl UnwindSafe for statx_timestamp_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