pub struct WireStatsSnapshot {
pub nodes_created: u64,
pub nodes_deleted: u64,
pub relationships_created: u64,
pub relationships_deleted: u64,
pub properties_set: u64,
pub labels_added: u64,
pub labels_removed: u64,
pub indexes_added: u64,
pub indexes_removed: u64,
pub constraints_added: u64,
pub constraints_removed: u64,
}Expand description
A plain, model-owned carrier of the 11 counters — a WireStats value that
does not require the engine crate (used by the golden fixtures and by any
surface that already has counts in hand).
Fields§
§nodes_created: u64§nodes_deleted: u64§relationships_created: u64§relationships_deleted: u64§properties_set: u64§labels_added: u64§labels_removed: u64§indexes_added: u64§indexes_removed: u64§constraints_added: u64§constraints_removed: u64Trait Implementations§
Source§impl Clone for WireStatsSnapshot
impl Clone for WireStatsSnapshot
Source§impl Debug for WireStatsSnapshot
impl Debug for WireStatsSnapshot
Source§impl Default for WireStatsSnapshot
impl Default for WireStatsSnapshot
impl Eq for WireStatsSnapshot
Source§impl PartialEq for WireStatsSnapshot
impl PartialEq for WireStatsSnapshot
impl StructuralPartialEq for WireStatsSnapshot
Source§impl WireStats for WireStatsSnapshot
impl WireStats for WireStatsSnapshot
fn nodes_created(&self) -> u64
fn nodes_deleted(&self) -> u64
fn relationships_created(&self) -> u64
fn relationships_deleted(&self) -> u64
fn properties_set(&self) -> u64
fn labels_added(&self) -> u64
fn labels_removed(&self) -> u64
fn indexes_added(&self) -> u64
fn indexes_removed(&self) -> u64
fn constraints_added(&self) -> u64
fn constraints_removed(&self) -> u64
Auto Trait Implementations§
impl Forget for WireStatsSnapshot
impl Freeze for WireStatsSnapshot
impl Move for WireStatsSnapshot
impl RefUnwindSafe for WireStatsSnapshot
impl Send for WireStatsSnapshot
impl Sync for WireStatsSnapshot
impl Unpin for WireStatsSnapshot
impl UnsafeUnpin for WireStatsSnapshot
impl UnwindSafe for WireStatsSnapshot
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.