pub struct ReviewProgress {
pub accepted: usize,
pub total: usize,
}Expand description
Review progress over a fixed number of changed lines.
Fields§
§accepted: usizeNumber of accepted changed lines.
total: usizeTotal number of reviewable changed lines.
Implementations§
Trait Implementations§
Source§impl Clone for ReviewProgress
impl Clone for ReviewProgress
impl Copy for ReviewProgress
Source§impl Debug for ReviewProgress
impl Debug for ReviewProgress
Source§impl Default for ReviewProgress
impl Default for ReviewProgress
impl Eq for ReviewProgress
Source§impl Ord for ReviewProgress
impl Ord for ReviewProgress
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ReviewProgress
impl PartialEq for ReviewProgress
Source§impl PartialOrd for ReviewProgress
impl PartialOrd for ReviewProgress
impl StructuralPartialEq for ReviewProgress
Auto Trait Implementations§
impl Freeze for ReviewProgress
impl RefUnwindSafe for ReviewProgress
impl Send for ReviewProgress
impl Sync for ReviewProgress
impl Unpin for ReviewProgress
impl UnsafeUnpin for ReviewProgress
impl UnwindSafe for ReviewProgress
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