pub struct MemoryListing {
pub schema: &'static str,
pub records: Vec<MemoryRecord>,
pub live: u64,
pub superseded: u64,
}Expand description
A listing of memory records, with the counts that make it legible.
Fields§
§schema: &'static strStable schema tag (MEMORY_SCHEMA).
records: Vec<MemoryRecord>The matching records, newest generation first.
live: u64Live records in the whole store, ignoring the filter — so a filtered listing that returns nothing is legible as nothing matched rather than nothing is stored.
superseded: u64Superseded records in the whole store. Never zero once knowledge has been overruled: nothing is deleted by supersession.
Trait Implementations§
Source§impl Clone for MemoryListing
impl Clone for MemoryListing
Source§fn clone(&self) -> MemoryListing
fn clone(&self) -> MemoryListing
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 MemoryListing
impl Debug for MemoryListing
Source§impl Deserialize<'static> for MemoryListing
impl Deserialize<'static> for MemoryListing
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MemoryListing
impl PartialEq for MemoryListing
Source§impl Serialize for MemoryListing
impl Serialize for MemoryListing
impl StructuralPartialEq for MemoryListing
Auto Trait Implementations§
impl Freeze for MemoryListing
impl RefUnwindSafe for MemoryListing
impl Send for MemoryListing
impl Sync for MemoryListing
impl Unpin for MemoryListing
impl UnsafeUnpin for MemoryListing
impl UnwindSafe for MemoryListing
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