pub enum FilesToSkip {
File {
name: String,
skip: u64,
},
Dir {
name: String,
files: Vec<FilesToSkip>,
},
}Expand description
Tree structure that represents files that have been requested for skipping
Variants§
Implementations§
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for FilesToSkip
impl<'__de, __Context> BorrowDecode<'__de, __Context> for FilesToSkip
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for FilesToSkip
impl Clone for FilesToSkip
Source§fn clone(&self) -> FilesToSkip
fn clone(&self) -> FilesToSkip
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 Debug for FilesToSkip
impl Debug for FilesToSkip
Source§impl<__Context> Decode<__Context> for FilesToSkip
impl<__Context> Decode<__Context> for FilesToSkip
Source§impl Encode for FilesToSkip
impl Encode for FilesToSkip
Source§impl Hash for FilesToSkip
impl Hash for FilesToSkip
Source§impl PartialEq for FilesToSkip
impl PartialEq for FilesToSkip
impl StructuralPartialEq for FilesToSkip
Auto Trait Implementations§
impl Freeze for FilesToSkip
impl RefUnwindSafe for FilesToSkip
impl Send for FilesToSkip
impl Sync for FilesToSkip
impl Unpin for FilesToSkip
impl UnwindSafe for FilesToSkip
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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