pub struct StatsResult {
pub total_memories: usize,
pub active_memories: usize,
pub deleted_memories: usize,
pub storage_usage: f32,
pub avg_importance: f32,
}Fields§
§total_memories: usize§active_memories: usize§deleted_memories: usize§storage_usage: f32§avg_importance: f32Trait Implementations§
Source§impl Clone for StatsResult
impl Clone for StatsResult
Source§fn clone(&self) -> StatsResult
fn clone(&self) -> StatsResult
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 StatsResult
impl Debug for StatsResult
Source§impl<'de> Deserialize<'de> for StatsResult
impl<'de> Deserialize<'de> for StatsResult
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
Auto Trait Implementations§
impl Freeze for StatsResult
impl RefUnwindSafe for StatsResult
impl Send for StatsResult
impl Sync for StatsResult
impl Unpin for StatsResult
impl UnsafeUnpin for StatsResult
impl UnwindSafe for StatsResult
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