pub struct StatsOutput<S: BosStr = DefaultStr> {
pub collection_stats: Vec<CollectionStats<S>>,
pub collections: Vec<Nsid<S>>,
pub total_actors: i64,
pub total_lexicons: i64,
pub total_records: i64,
pub extra_data: Option<BTreeMap<SmolStr, Data<S>>>,
}Fields§
§collection_stats: Vec<CollectionStats<S>>Per-collection statistics
collections: Vec<Nsid<S>>List of collection NSIDs indexed in this slice
total_actors: i64Total number of unique actors indexed in this slice
total_lexicons: i64Total number of lexicons defined for this slice
total_records: i64Total number of records indexed in this slice
extra_data: Option<BTreeMap<SmolStr, Data<S>>>Trait Implementations§
Source§impl<S: Clone + BosStr> Clone for StatsOutput<S>
impl<S: Clone + BosStr> Clone for StatsOutput<S>
Source§fn clone(&self) -> StatsOutput<S>
fn clone(&self) -> StatsOutput<S>
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<'de, S> Deserialize<'de> for StatsOutput<S>where
S: Deserialize<'de> + BosStr,
impl<'de, S> Deserialize<'de> for StatsOutput<S>where
S: Deserialize<'de> + BosStr,
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
impl<S: Eq + BosStr> Eq for StatsOutput<S>
Source§impl<S: BosStr + IntoStatic> IntoStatic for StatsOutput<S>
impl<S: BosStr + IntoStatic> IntoStatic for StatsOutput<S>
Source§type Output = StatsOutput<<S as IntoStatic>::Output>
type Output = StatsOutput<<S as IntoStatic>::Output>
The “owned” variant of the type. For
Cow<'a, str>, this is Cow<'static, str>, for example.Source§fn into_static(self) -> Self::Output
fn into_static(self) -> Self::Output
Turns the value into an “owned” variant, which can then be returned, moved, etc. Read more
Source§impl<S: PartialEq + BosStr> PartialEq for StatsOutput<S>
impl<S: PartialEq + BosStr> PartialEq for StatsOutput<S>
Source§fn eq(&self, other: &StatsOutput<S>) -> bool
fn eq(&self, other: &StatsOutput<S>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<S> Serialize for StatsOutput<S>
impl<S> Serialize for StatsOutput<S>
impl<S: BosStr> StructuralPartialEq for StatsOutput<S>
Auto Trait Implementations§
impl<S> Freeze for StatsOutput<S>
impl<S> RefUnwindSafe for StatsOutput<S>where
S: RefUnwindSafe,
impl<S> Send for StatsOutput<S>where
S: Send,
impl<S> Sync for StatsOutput<S>where
S: Sync,
impl<S> Unpin for StatsOutput<S>where
S: Unpin,
impl<S> UnsafeUnpin for StatsOutput<S>
impl<S> UnwindSafe for StatsOutput<S>where
S: RefUnwindSafe + UnwindSafe,
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.