pub struct DataStoreStats {
pub scalar_bytes: usize,
pub string_bytes: usize,
pub array_bytes: usize,
pub ast_bytes: usize,
pub error_bytes: usize,
pub total_scalars: usize,
pub total_strings: usize,
pub total_arrays: usize,
pub total_ast_nodes: usize,
pub total_errors: usize,
}Expand description
Statistics about data store memory usage
Fields§
§scalar_bytes: usize§string_bytes: usize§array_bytes: usize§ast_bytes: usize§error_bytes: usize§total_scalars: usize§total_strings: usize§total_arrays: usize§total_ast_nodes: usize§total_errors: usizeImplementations§
Source§impl DataStoreStats
impl DataStoreStats
pub fn total_bytes(&self) -> usize
Trait Implementations§
Source§impl Clone for DataStoreStats
impl Clone for DataStoreStats
Source§fn clone(&self) -> DataStoreStats
fn clone(&self) -> DataStoreStats
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 moreAuto Trait Implementations§
impl Freeze for DataStoreStats
impl RefUnwindSafe for DataStoreStats
impl Send for DataStoreStats
impl Sync for DataStoreStats
impl Unpin for DataStoreStats
impl UnwindSafe for DataStoreStats
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more