Struct btrfs_diskformat::Time

source ·
#[repr(C, packed)]
pub struct Time { pub timestamp: I64<LE>, pub nanoseconds: U32<LE>, }
Expand description

The layout of timestamps on disk.

Fields

timestamp: I64<LE>

The timestamp using Unix time convention.

nanoseconds: U32<LE>

The number of nanoseconds past the beginning of the second denoted in timestamp.

Trait Implementations

Get the bytes of this value. Read more
Get the bytes of this value mutably. Read more
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.