#[non_exhaustive]pub struct PartSummary {
pub index: u32,
pub kind: PartKind,
pub bytes: u64,
pub skipped: bool,
}Expand description
What one part was.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.index: u32The part index, from 0.
kind: PartKindField or file.
bytes: u64The length of the part’s data.
skipped: boolWhether the part was skipped (by skip_part or an inspector).
Trait Implementations§
Source§impl Clone for PartSummary
impl Clone for PartSummary
impl Copy for PartSummary
Source§impl Debug for PartSummary
impl Debug for PartSummary
impl Eq for PartSummary
Source§impl PartialEq for PartSummary
impl PartialEq for PartSummary
impl StructuralPartialEq for PartSummary
Auto Trait Implementations§
impl Freeze for PartSummary
impl RefUnwindSafe for PartSummary
impl Send for PartSummary
impl Sync for PartSummary
impl Unpin for PartSummary
impl UnsafeUnpin for PartSummary
impl UnwindSafe for PartSummary
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