pub struct FileCompression {
pub file: RelativePath,
pub source_bytes: usize,
pub annotation_count: usize,
pub annotation_bytes: usize,
pub ratio: Option<f64>,
}Expand description
Per-file compression detail.
Fields§
§file: RelativePathRelative file path.
source_bytes: usizeSource bytes for this file.
annotation_count: usizeAnnotation count for this file.
annotation_bytes: usizeAnnotation JSON bytes for this file.
ratio: Option<f64>Per-file ratio. None when annotation_bytes = 0.
Trait Implementations§
Source§impl Clone for FileCompression
impl Clone for FileCompression
Source§fn clone(&self) -> FileCompression
fn clone(&self) -> FileCompression
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 FileCompression
impl Debug for FileCompression
Auto Trait Implementations§
impl Freeze for FileCompression
impl RefUnwindSafe for FileCompression
impl Send for FileCompression
impl Sync for FileCompression
impl Unpin for FileCompression
impl UnsafeUnpin for FileCompression
impl UnwindSafe for FileCompression
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<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 more