pub struct Counts {
pub schema_types: u64,
pub vertices: u64,
pub edges: u64,
pub observations: u64,
pub evidence: u64,
pub beliefs: u64,
pub vectors: u64,
pub vertex_tombstones: u64,
pub edge_tombstones: u64,
}Expand description
Per-kind record tallies, carried in the trailer and checked by the reader against what it actually saw.
Fields§
§schema_types: u64schema_type records.
vertices: u64vertex records.
edges: u64edge records.
observations: u64observation records.
evidence: u64evidence records.
beliefs: u64belief records.
vectors: u64vector records.
vertex_tombstones: u64vertex_tombstone records. Added in v0.2; #[serde(default)]
means a v0.1 trailer still deserializes with these at zero.
edge_tombstones: u64edge_tombstone records. Added in v0.2.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Counts
impl<'de> Deserialize<'de> for Counts
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
impl StructuralPartialEq for Counts
Auto Trait Implementations§
impl Freeze for Counts
impl RefUnwindSafe for Counts
impl Send for Counts
impl Sync for Counts
impl Unpin for Counts
impl UnsafeUnpin for Counts
impl UnwindSafe for Counts
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