#[non_exhaustive]pub struct LossReport {
pub face: String,
pub total_source_elements: u64,
pub mapped_count: u64,
pub unmapped_count: u64,
pub is_lossless: bool,
pub loss_ratio: f64,
pub mapped_paths: Vec<String>,
pub unmapped_paths: Vec<String>,
}Expand description
What a projection carried and what it did not, by indexed path.
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.face: StringThe face projected into.
total_source_elements: u64Source leaves counted.
mapped_count: u64Leaves carried into the payload.
unmapped_count: u64Leaves not carried.
is_lossless: booltrue when nothing was dropped.
loss_ratio: f64Share of source leaves not carried.
mapped_paths: Vec<String>Paths carried.
unmapped_paths: Vec<String>Paths not carried.
Trait Implementations§
Source§impl Clone for LossReport
impl Clone for LossReport
Source§impl Debug for LossReport
impl Debug for LossReport
Source§impl<'de> Deserialize<'de> for LossReport
impl<'de> Deserialize<'de> for LossReport
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 LossReport
impl PartialEq for LossReport
impl StructuralPartialEq for LossReport
Auto Trait Implementations§
impl Freeze for LossReport
impl RefUnwindSafe for LossReport
impl Send for LossReport
impl Sync for LossReport
impl Unpin for LossReport
impl UnsafeUnpin for LossReport
impl UnwindSafe for LossReport
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