pub struct SonicStats {
pub total_parses: u64,
pub sonic_successes: u64,
pub serde_fallbacks: u64,
pub avg_parse_time_ns: u64,
pub bytes_processed: u64,
}
Expand description
Performance statistics for sonic parser
Fields§
§total_parses: u64
§sonic_successes: u64
§serde_fallbacks: u64
§avg_parse_time_ns: u64
§bytes_processed: u64
Trait Implementations§
Source§impl Clone for SonicStats
impl Clone for SonicStats
Source§fn clone(&self) -> SonicStats
fn clone(&self) -> SonicStats
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 SonicStats
impl Debug for SonicStats
Source§impl Default for SonicStats
impl Default for SonicStats
Source§fn default() -> SonicStats
fn default() -> SonicStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SonicStats
impl RefUnwindSafe for SonicStats
impl Send for SonicStats
impl Sync for SonicStats
impl Unpin for SonicStats
impl UnwindSafe for SonicStats
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