#[non_exhaustive]pub struct NamespaceStats {
pub name: String,
pub entries: Option<u64>,
pub bytes: u64,
}Expand description
One namespace of a store, as stats reports it.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringThe namespace name.
entries: Option<u64>The entries its file holds; None when the file is not one skif can read.
bytes: u64The size of its file.
Trait Implementations§
Source§impl Clone for NamespaceStats
impl Clone for NamespaceStats
Source§impl Debug for NamespaceStats
impl Debug for NamespaceStats
impl Eq for NamespaceStats
Source§impl PartialEq for NamespaceStats
impl PartialEq for NamespaceStats
impl StructuralPartialEq for NamespaceStats
Auto Trait Implementations§
impl Forget for NamespaceStats
impl Freeze for NamespaceStats
impl Move for NamespaceStats
impl RefUnwindSafe for NamespaceStats
impl Send for NamespaceStats
impl Sync for NamespaceStats
impl Unpin for NamespaceStats
impl UnsafeUnpin for NamespaceStats
impl UnwindSafe for NamespaceStats
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.