pub struct SubvolumeInfo {Show 17 fields
pub id: u64,
pub name: String,
pub parent_id: u64,
pub dir_id: u64,
pub generation: u64,
pub flags: SubvolumeFlags,
pub uuid: Uuid,
pub parent_uuid: Uuid,
pub received_uuid: Uuid,
pub ctransid: u64,
pub otransid: u64,
pub stransid: u64,
pub rtransid: u64,
pub ctime: SystemTime,
pub otime: SystemTime,
pub stime: SystemTime,
pub rtime: SystemTime,
}Expand description
Subvolume metadata returned by BTRFS_IOC_GET_SUBVOL_INFO.
Fields§
§id: u64Root ID (subvolume ID) of this subvolume.
name: StringName of this subvolume within its parent directory.
parent_id: u64Root ID of the parent subvolume.
dir_id: u64Inode number of the directory within the parent that holds this subvolume.
generation: u64Current generation of the subvolume.
flags: SubvolumeFlagsSubvolume flags (e.g. read-only).
uuid: UuidUUID of this subvolume.
parent_uuid: UuidUUID of the parent subvolume (non-nil for snapshots).
received_uuid: UuidUUID of the received subvolume (non-nil for received snapshots).
ctransid: u64Transaction ID when the subvolume was last changed.
otransid: u64Transaction ID when the subvolume was created.
stransid: u64Transaction ID when a send was last performed.
rtransid: u64Transaction ID when this subvolume was last received.
ctime: SystemTimeTime of last change.
otime: SystemTimeCreation time.
stime: SystemTimeTime of last send.
rtime: SystemTimeTime of last receive.
Trait Implementations§
Source§impl Clone for SubvolumeInfo
impl Clone for SubvolumeInfo
Source§fn clone(&self) -> SubvolumeInfo
fn clone(&self) -> SubvolumeInfo
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 moreAuto Trait Implementations§
impl Freeze for SubvolumeInfo
impl RefUnwindSafe for SubvolumeInfo
impl Send for SubvolumeInfo
impl Sync for SubvolumeInfo
impl Unpin for SubvolumeInfo
impl UnsafeUnpin for SubvolumeInfo
impl UnwindSafe for SubvolumeInfo
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