#[non_exhaustive]pub struct StripReport {
pub format: Format,
pub removed: Vec<Finding>,
pub retained: Vec<Retained>,
pub notes: Vec<Note>,
pub input_bytes: u64,
pub output_bytes: u64,
}Expand description
The result of stripping a file.
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.format: FormatThe format that was processed.
removed: Vec<Finding>What was removed. Says what came out, not merely that something did (PRD §8.2).
retained: Vec<Retained>What was deliberately kept, and why. An empty list here is a claim, so a handler that knowingly leaves something behind must say so rather than staying silent.
notes: Vec<Note>Caveats about the operation.
input_bytes: u64Input size in bytes.
output_bytes: u64Output size in bytes.
Trait Implementations§
Source§impl Clone for StripReport
impl Clone for StripReport
Source§fn clone(&self) -> StripReport
fn clone(&self) -> StripReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StripReport
impl Debug for StripReport
impl Eq for StripReport
Source§impl PartialEq for StripReport
impl PartialEq for StripReport
impl StructuralPartialEq for StripReport
Auto Trait Implementations§
impl Freeze for StripReport
impl RefUnwindSafe for StripReport
impl Send for StripReport
impl Sync for StripReport
impl Unpin for StripReport
impl UnsafeUnpin for StripReport
impl UnwindSafe for StripReport
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.