pub struct CandidateCount {
pub kind: MediaKind,
pub blobs: u64,
pub described: u64,
pub skipped: u64,
}Expand description
How many blobs of one modality the current tree holds, and how many of them already have a record for some producer.
Fields§
§kind: MediaKindThe modality.
blobs: u64Distinct media blobs in the tree (within the size cap).
described: u64How many of those have at least one record carrying generated text.
skipped: u64How many of those the gate refused, and no producer has since
described. Counted apart from described deliberately: a skipped blob is
not a described one, and folding the two together would restore exactly
the ambiguity the recorded skip exists to remove.
Trait Implementations§
Source§impl Clone for CandidateCount
impl Clone for CandidateCount
Source§fn clone(&self) -> CandidateCount
fn clone(&self) -> CandidateCount
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 CandidateCount
impl Debug for CandidateCount
Source§impl<'de> Deserialize<'de> for CandidateCount
impl<'de> Deserialize<'de> for CandidateCount
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 Eq for CandidateCount
Source§impl PartialEq for CandidateCount
impl PartialEq for CandidateCount
Source§impl Serialize for CandidateCount
impl Serialize for CandidateCount
impl StructuralPartialEq for CandidateCount
Auto Trait Implementations§
impl Freeze for CandidateCount
impl RefUnwindSafe for CandidateCount
impl Send for CandidateCount
impl Sync for CandidateCount
impl Unpin for CandidateCount
impl UnsafeUnpin for CandidateCount
impl UnwindSafe for CandidateCount
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,
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.