pub struct ReflectionEntry<Size> {
pub ino: InodeNumber,
pub size: Size,
pub links: u64,
pub paths: LinkPathListReflection,
}
Expand description
An entry in Reflection
.
Fields§
§ino: InodeNumber
The inode number of the file.
size: Size
Size of the file.
links: u64
Total number of links of the file, both listed (in Self::paths
) and unlisted.
paths: LinkPathListReflection
Paths to the detected links of the file.
Trait Implementations§
Source§impl<Size: Clone> Clone for ReflectionEntry<Size>
impl<Size: Clone> Clone for ReflectionEntry<Size>
Source§fn clone(&self) -> ReflectionEntry<Size>
fn clone(&self) -> ReflectionEntry<Size>
Returns a duplicate 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<Size: Debug> Debug for ReflectionEntry<Size>
impl<Size: Debug> Debug for ReflectionEntry<Size>
Source§impl<'de, Size> Deserialize<'de> for ReflectionEntry<Size>where
Size: Deserialize<'de>,
impl<'de, Size> Deserialize<'de> for ReflectionEntry<Size>where
Size: Deserialize<'de>,
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<Size: PartialEq> PartialEq for ReflectionEntry<Size>
impl<Size: PartialEq> PartialEq for ReflectionEntry<Size>
Source§impl<Size> Serialize for ReflectionEntry<Size>where
Size: Serialize,
impl<Size> Serialize for ReflectionEntry<Size>where
Size: Serialize,
Source§impl<Size: Copy> SummarizeHardlinks<Size> for &ReflectionEntry<Size>
impl<Size: Copy> SummarizeHardlinks<Size> for &ReflectionEntry<Size>
Source§type Summary = SingleInodeSummary<Size>
type Summary = SingleInodeSummary<Size>
The result of
SummarizeHardlinks::summarize_hardlinks
.Source§fn summarize_hardlinks(self) -> Self::Summary
fn summarize_hardlinks(self) -> Self::Summary
Summarize into a summary of shared links and size.
Source§impl<Size: Copy> SummarizeHardlinks<Size> for ReflectionEntry<Size>
impl<Size: Copy> SummarizeHardlinks<Size> for ReflectionEntry<Size>
Source§type Summary = SingleInodeSummary<Size>
type Summary = SingleInodeSummary<Size>
The result of
SummarizeHardlinks::summarize_hardlinks
.Source§fn summarize_hardlinks(self) -> Self::Summary
fn summarize_hardlinks(self) -> Self::Summary
Summarize into a summary of shared links and size.
impl<Size: Eq> Eq for ReflectionEntry<Size>
impl<Size> StructuralPartialEq for ReflectionEntry<Size>
Auto Trait Implementations§
impl<Size> Freeze for ReflectionEntry<Size>where
Size: Freeze,
impl<Size> RefUnwindSafe for ReflectionEntry<Size>where
Size: RefUnwindSafe,
impl<Size> Send for ReflectionEntry<Size>where
Size: Send,
impl<Size> Sync for ReflectionEntry<Size>where
Size: Sync,
impl<Size> Unpin for ReflectionEntry<Size>where
Size: Unpin,
impl<Size> UnwindSafe for ReflectionEntry<Size>where
Size: UnwindSafe,
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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 moreSource§impl<X> Pipe for X
impl<X> Pipe for X
Source§fn pipe_ref<'a, Return, Function>(&'a self, f: Function) -> Returnwhere
Function: FnOnce(&'a Self) -> Return,
fn pipe_ref<'a, Return, Function>(&'a self, f: Function) -> Returnwhere
Function: FnOnce(&'a Self) -> Return,
Source§fn pipe_mut<'a, Return, Function>(&'a mut self, f: Function) -> Returnwhere
Function: FnOnce(&'a mut Self) -> Return,
fn pipe_mut<'a, Return, Function>(&'a mut self, f: Function) -> Returnwhere
Function: FnOnce(&'a mut Self) -> Return,
Source§fn pipe_as_ref<'a, Param, Return, Function>(&'a self, f: Function) -> Return
fn pipe_as_ref<'a, Param, Return, Function>(&'a self, f: Function) -> Return
Apply
f
to &self
where f
takes a single parameter of type Param
and Self
implements trait AsRef<Param>
. Read moreSource§fn pipe_as_mut<'a, Param, Return, Function>(&'a mut self, f: Function) -> Return
fn pipe_as_mut<'a, Param, Return, Function>(&'a mut self, f: Function) -> Return
Apply
f
to &mut self
where f
takes a single parameter of type Param
and Self
implements trait AsMut<Param>
. Read moreSource§fn pipe_deref<'a, Param, Return, Function>(&'a self, f: Function) -> Return
fn pipe_deref<'a, Param, Return, Function>(&'a self, f: Function) -> Return
Apply
f
to &self
where f
takes a single parameter of type Param
and Self
implements trait Deref<Target = Param>
. Read moreSource§fn pipe_deref_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function,
) -> Returnwhere
Self: DerefMut<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
fn pipe_deref_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function,
) -> Returnwhere
Self: DerefMut<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
Apply
f
to &mut self
where f
takes a single parameter of type Param
and Self
implements trait [DerefMut<Target = Param>
]. Read moreSource§fn pipe_borrow<'a, Param, Return, Function>(&'a self, f: Function) -> Return
fn pipe_borrow<'a, Param, Return, Function>(&'a self, f: Function) -> Return
Apply
f
to &self
where f
takes a single parameter of type Param
and Self
implements trait Borrow<Param>
. Read moreSource§fn pipe_borrow_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function,
) -> Return
fn pipe_borrow_mut<'a, Param, Return, Function>( &'a mut self, f: Function, ) -> Return
Apply
f
to &mut self
where f
takes a single parameter of type Param
and Self
implements trait BorrowMut<Param>
. Read more