pub struct ExportStats {
pub observations: usize,
pub capsules: usize,
pub summaries: usize,
pub pins: usize,
pub total_size: usize,
}Expand description
Summary statistics for an ExportBundle. Mirrors the TS ExportStats.
Fields§
§observations: usize§capsules: usize§summaries: usize§pins: usize§total_size: usizeLength of the compact JSON serialization (JSON.stringify(bundle).length
in TS — UTF-16 code units there, bytes here; equal for ASCII-only data).
Trait Implementations§
Source§impl Clone for ExportStats
impl Clone for ExportStats
Source§fn clone(&self) -> ExportStats
fn clone(&self) -> ExportStats
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 ExportStats
impl Debug for ExportStats
Source§impl<'de> Deserialize<'de> for ExportStats
impl<'de> Deserialize<'de> for ExportStats
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 ExportStats
impl PartialEq for ExportStats
Source§fn eq(&self, other: &ExportStats) -> bool
fn eq(&self, other: &ExportStats) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExportStats
impl Serialize for ExportStats
impl StructuralPartialEq for ExportStats
Auto Trait Implementations§
impl Freeze for ExportStats
impl RefUnwindSafe for ExportStats
impl Send for ExportStats
impl Sync for ExportStats
impl Unpin for ExportStats
impl UnsafeUnpin for ExportStats
impl UnwindSafe for ExportStats
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