#[non_exhaustive]#[repr(C)]pub struct StatxTimestamp {
pub tv_sec: i64,
pub tv_nsec: u32,
/* private fields */
}
Available on crate feature
fs
only.Expand description
struct statx_timestamp
for use with Statx
.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.tv_sec: i64
Seconds.
tv_nsec: u32
Nanoseconds. Must be less than 1_000_000_000.
Trait Implementations§
Source§impl Clone for StatxTimestamp
impl Clone for StatxTimestamp
Source§fn clone(&self) -> StatxTimestamp
fn clone(&self) -> StatxTimestamp
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 StatxTimestamp
impl Debug for StatxTimestamp
impl Copy for StatxTimestamp
Auto Trait Implementations§
impl Freeze for StatxTimestamp
impl RefUnwindSafe for StatxTimestamp
impl Send for StatxTimestamp
impl Sync for StatxTimestamp
impl Unpin for StatxTimestamp
impl UnwindSafe for StatxTimestamp
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