pub struct MountInfo {
pub target: String,
pub source: Option<String>,
pub filesystem: Option<String>,
pub options: Option<String>,
pub size_bytes: Option<u64>,
pub used_bytes: Option<u64>,
pub available_bytes: Option<u64>,
}Expand description
One mounted filesystem.
Fields§
§target: StringMount target.
source: Option<String>Source device or dataset.
filesystem: Option<String>Filesystem type.
options: Option<String>Mount options.
size_bytes: Option<u64>Total bytes.
used_bytes: Option<u64>Used bytes.
available_bytes: Option<u64>Available bytes.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MountInfo
impl<'de> Deserialize<'de> for MountInfo
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
impl Eq for MountInfo
impl StructuralPartialEq for MountInfo
Auto Trait Implementations§
impl Freeze for MountInfo
impl RefUnwindSafe for MountInfo
impl Send for MountInfo
impl Sync for MountInfo
impl Unpin for MountInfo
impl UnsafeUnpin for MountInfo
impl UnwindSafe for MountInfo
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.