Struct dittolive_ditto::disk_usage::DiskUsageChild
source · [−]pub struct DiskUsageChild {
pub fs_type: FileSystemType,
pub path: String,
pub size_in_bytes: usize,
pub children: Option<Vec<DiskUsageChild>>,
}
Expand description
Entry in a file system
Fields
fs_type: FileSystemType
Type of the entry.
path: String
Relative path in the DittoRoot
.
size_in_bytes: usize
Size of the entry.
children: Option<Vec<DiskUsageChild>>
If the entry is a directory, it can contain children.
Trait Implementations
sourceimpl Clone for DiskUsageChild
impl Clone for DiskUsageChild
sourcefn clone(&self) -> DiskUsageChild
fn clone(&self) -> DiskUsageChild
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DiskUsageChild
impl Debug for DiskUsageChild
sourceimpl<'de> Deserialize<'de> for DiskUsageChild
impl<'de> Deserialize<'de> for DiskUsageChild
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
sourceimpl PartialEq<DiskUsageChild> for DiskUsageChild
impl PartialEq<DiskUsageChild> for DiskUsageChild
sourcefn eq(&self, other: &DiskUsageChild) -> bool
fn eq(&self, other: &DiskUsageChild) -> bool
impl Eq for DiskUsageChild
impl StructuralEq for DiskUsageChild
impl StructuralPartialEq for DiskUsageChild
Auto Trait Implementations
impl RefUnwindSafe for DiskUsageChild
impl Send for DiskUsageChild
impl Sync for DiskUsageChild
impl Unpin for DiskUsageChild
impl UnwindSafe for DiskUsageChild
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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
impl<T> CompatExt for T
impl<T> CompatExt for T
fn compat_ref(&self) -> Compat<&T>
fn compat_ref(&self) -> Compat<&T>
Applies the [
Compat
] adapter by shared reference. Read morefn compat_mut(&mut self) -> Compat<&mut T>
fn compat_mut(&mut self) -> Compat<&mut T>
Applies the [
Compat
] adapter by mutable reference. Read more