#[non_exhaustive]pub struct CommitCounts {
pub counts: BTreeMap<String, u64>,
pub failures: Vec<String>,
}Expand description
Commits per repository, and the queries that failed.
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.counts: BTreeMap<String, u64>Per repository (owner/name) with any, the commits.
failures: Vec<String>Per failed query, the repositories it asked about and why.
Trait Implementations§
Source§impl Clone for CommitCounts
impl Clone for CommitCounts
Source§impl Debug for CommitCounts
impl Debug for CommitCounts
Source§impl Default for CommitCounts
impl Default for CommitCounts
impl Eq for CommitCounts
Source§impl PartialEq for CommitCounts
impl PartialEq for CommitCounts
impl StructuralPartialEq for CommitCounts
Auto Trait Implementations§
impl Forget for CommitCounts
impl Freeze for CommitCounts
impl Move for CommitCounts
impl RefUnwindSafe for CommitCounts
impl Send for CommitCounts
impl Sync for CommitCounts
impl Unpin for CommitCounts
impl UnsafeUnpin for CommitCountswhere
*const LeafNode<String, u64> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, u64)>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for CommitCounts
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,
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.