pub struct DfConfig {Show 14 fields
pub all: bool,
pub block_size: u64,
pub human_readable: bool,
pub si: bool,
pub inodes: bool,
pub local_only: bool,
pub portability: bool,
pub print_type: bool,
pub total: bool,
pub sync_before: bool,
pub type_filter: HashSet<String>,
pub exclude_type: HashSet<String>,
pub output_fields: Option<Vec<String>>,
pub files: Vec<String>,
}Expand description
Configuration for the df command.
Fields§
§all: bool§block_size: u64§human_readable: bool§si: bool§inodes: bool§local_only: bool§portability: bool§print_type: bool§total: bool§sync_before: bool§type_filter: HashSet<String>§exclude_type: HashSet<String>§output_fields: Option<Vec<String>>§files: Vec<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for DfConfig
impl RefUnwindSafe for DfConfig
impl Send for DfConfig
impl Sync for DfConfig
impl Unpin for DfConfig
impl UnsafeUnpin for DfConfig
impl UnwindSafe for DfConfig
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> 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