#[non_exhaustive]pub struct CheckCounts {
pub passed: u32,
pub total: u32,
}Expand description
How many of the head commit’s checks passed, out of how many, such as
4 of 5. passed is never more than total.
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.passed: u32§total: u32Implementations§
Trait Implementations§
Source§impl Clone for CheckCounts
impl Clone for CheckCounts
impl Copy for CheckCounts
Source§impl Debug for CheckCounts
impl Debug for CheckCounts
impl Eq for CheckCounts
Source§impl PartialEq for CheckCounts
impl PartialEq for CheckCounts
impl StructuralPartialEq for CheckCounts
Auto Trait Implementations§
impl Forget for CheckCounts
impl Freeze for CheckCounts
impl Move for CheckCounts
impl RefUnwindSafe for CheckCounts
impl Send for CheckCounts
impl Sync for CheckCounts
impl Unpin for CheckCounts
impl UnsafeUnpin for CheckCounts
impl UnwindSafe for CheckCounts
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