pub struct StratisPoolInfo {Show 16 fields
pub pool_name: String,
pub pool_uuid: String,
pub pool_object_path: String,
pub filesystem_name: String,
pub filesystem_uuid: String,
pub filesystem_object_path: String,
pub total_physical_size: u64,
pub total_physical_used: Option<u64>,
pub no_alloc_space: bool,
pub encrypted: bool,
pub has_cache: bool,
pub overprovisioning: bool,
pub fs_size: u64,
pub fs_used: Option<u64>,
pub fs_devnode: String,
pub origin: Option<String>,
}Expand description
Rich Stratis pool metadata resolved from D-Bus.
Fields§
§pool_name: String§pool_uuid: String§pool_object_path: String§filesystem_name: String§filesystem_uuid: String§filesystem_object_path: String§total_physical_size: u64§total_physical_used: Option<u64>§no_alloc_space: bool§encrypted: bool§has_cache: bool§overprovisioning: bool§fs_size: u64§fs_used: Option<u64>§fs_devnode: String§origin: Option<String>Trait Implementations§
Source§impl Clone for StratisPoolInfo
impl Clone for StratisPoolInfo
Source§fn clone(&self) -> StratisPoolInfo
fn clone(&self) -> StratisPoolInfo
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 StratisPoolInfo
impl RefUnwindSafe for StratisPoolInfo
impl Send for StratisPoolInfo
impl Sync for StratisPoolInfo
impl Unpin for StratisPoolInfo
impl UnsafeUnpin for StratisPoolInfo
impl UnwindSafe for StratisPoolInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more