pub struct SerializationStats {
pub bytes_out: usize,
pub bytes_in: usize,
pub path_count: usize,
}Expand description
Statistics from a serialize operation
Fields§
§bytes_out: usizeThe number of output bytes written to the target
bytes_in: usizeThe number of serialized (uncompressed) bytes
path_count: usizeThe total number of paths that were serialized
Trait Implementations§
Source§impl Clone for SerializationStats
impl Clone for SerializationStats
Source§fn clone(&self) -> SerializationStats
fn clone(&self) -> SerializationStats
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 moreimpl Copy for SerializationStats
Auto Trait Implementations§
impl Freeze for SerializationStats
impl RefUnwindSafe for SerializationStats
impl Send for SerializationStats
impl Sync for SerializationStats
impl Unpin for SerializationStats
impl UnsafeUnpin for SerializationStats
impl UnwindSafe for SerializationStats
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