[−][src]Struct btrfsutil_sys::btrfs_util_subvolume_info
struct btrfs_util_subvolume_info - Information about a Btrfs subvolume.
Fields
id: u64
@id: ID of this subvolume, unique across the filesystem.
parent_id: u64
@parent_id: ID of the subvolume which contains this subvolume, or zero for the root subvolume (BTRFS_FS_TREE_OBJECTID) or orphaned subvolumes (i.e., subvolumes which have been deleted but not yet cleaned up).
dir_id: u64
@dir_id: Inode number of the directory containing this subvolume in the parent subvolume, or zero for the root subvolume (BTRFS_FS_TREE_OBJECTID) or orphaned subvolumes.
flags: u64
@flags: On-disk root item flags.
uuid: [u8; 16]
@uuid: UUID of this subvolume.
parent_uuid: [u8; 16]
@parent_uuid: UUID of the subvolume this subvolume is a snapshot of, or all zeroes if this subvolume is not a snapshot.
received_uuid: [u8; 16]
@received_uuid: UUID of the subvolume this subvolume was received from, or all zeroes if this subvolume was not received. Note that this field, @stransid, @rtransid, @stime, and @rtime are set manually by userspace after a subvolume is received.
generation: u64
@generation: Transaction ID of the subvolume root.
ctransid: u64
@ctransid: Transaction ID when an inode in this subvolume was last changed.
otransid: u64
@otransid: Transaction ID when this subvolume was created.
stransid: u64
@stransid: Transaction ID of the sent subvolume this subvolume was received from, or zero if this subvolume was not received. See the note on @received_uuid.
rtransid: u64
@rtransid: Transaction ID when this subvolume was received, or zero if this subvolume was not received. See the note on @received_uuid.
ctime: timespec
@ctime: Time when an inode in this subvolume was last changed.
otime: timespec
@otime: Time when this subvolume was created.
stime: timespec
@stime: Not well-defined, usually zero unless it was set otherwise. See the note on @received_uuid.
rtime: timespec
@rtime: Time when this subvolume was received, or zero if this subvolume was not received. See the note on @received_uuid.
Trait Implementations
impl Clone for btrfs_util_subvolume_info
[src]
fn clone(&self) -> btrfs_util_subvolume_info
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for btrfs_util_subvolume_info
[src]
impl Debug for btrfs_util_subvolume_info
[src]
Auto Trait Implementations
impl RefUnwindSafe for btrfs_util_subvolume_info
impl Send for btrfs_util_subvolume_info
impl Sync for btrfs_util_subvolume_info
impl Unpin for btrfs_util_subvolume_info
impl UnwindSafe for btrfs_util_subvolume_info
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,