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§
source§impl Clone for DiskUsageChild
impl Clone for DiskUsageChild
source§fn clone(&self) -> DiskUsageChild
fn clone(&self) -> DiskUsageChild
Returns a copy 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 moresource§impl Debug for DiskUsageChild
impl Debug for DiskUsageChild
source§impl<'de> Deserialize<'de> for DiskUsageChild
impl<'de> Deserialize<'de> for DiskUsageChild
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
source§impl PartialEq for DiskUsageChild
impl PartialEq for DiskUsageChild
source§fn eq(&self, other: &DiskUsageChild) -> bool
fn eq(&self, other: &DiskUsageChild) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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§
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
§impl<T> CompatExt for T
impl<T> CompatExt for T
§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
Checks if this value is equivalent to the given key. Read more