pub struct BtrfsAllocation {
pub kind: String,
pub profile: String,
pub total_bytes: u64,
pub used_bytes: u64,
}Expand description
Space allocation of one btrfs block group type and RAID profile.
Fields§
§kind: StringBlock group type: "data", "metadata" or "system".
profile: StringRAID profile (e.g. "single", "raid0", "raid1c3").
total_bytes: u64Space allocated to this profile (logical size).
used_bytes: u64Space used within the allocation (logical size).
Trait Implementations§
Source§impl Clone for BtrfsAllocation
impl Clone for BtrfsAllocation
Source§impl Debug for BtrfsAllocation
impl Debug for BtrfsAllocation
Source§impl Default for BtrfsAllocation
impl Default for BtrfsAllocation
Source§impl<'de> Deserialize<'de> for BtrfsAllocationwhere
BtrfsAllocation: Default,
impl<'de> Deserialize<'de> for BtrfsAllocationwhere
BtrfsAllocation: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BtrfsAllocation
impl RefUnwindSafe for BtrfsAllocation
impl Send for BtrfsAllocation
impl Sync for BtrfsAllocation
impl Unpin for BtrfsAllocation
impl UnsafeUnpin for BtrfsAllocation
impl UnwindSafe for BtrfsAllocation
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