Struct sysinfo_report::Disk
source · [−]pub struct Disk {
pub kind: DiskKind,
pub name: String,
pub file_system: Bytes,
pub mount_point: String,
pub total_space: u64,
pub available_space: u64,
pub is_removable: bool,
}Fields
kind: DiskKindname: Stringfile_system: Bytesmount_point: Stringtotal_space: u64available_space: u64is_removable: boolTrait Implementations
sourceimpl<'de> Deserialize<'de> for Disk
impl<'de> Deserialize<'de> for Disk
sourcefn 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 RefUnwindSafe for Disk
impl Send for Disk
impl Sync for Disk
impl Unpin for Disk
impl UnwindSafe for Disk
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more