pub struct PushReport {
pub current_branch: String,
pub protected_branch: bool,
pub commits: Vec<ValidatedCommit>,
pub total_checked: usize,
pub invalid_count: usize,
pub blocked: bool,
pub block_reasons: Vec<String>,
}Fields§
§current_branch: String§protected_branch: bool§commits: Vec<ValidatedCommit>§total_checked: usize§invalid_count: usize§blocked: bool§block_reasons: Vec<String>Trait Implementations§
Source§impl Clone for PushReport
impl Clone for PushReport
Source§fn clone(&self) -> PushReport
fn clone(&self) -> PushReport
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PushReport
impl RefUnwindSafe for PushReport
impl Send for PushReport
impl Sync for PushReport
impl Unpin for PushReport
impl UnsafeUnpin for PushReport
impl UnwindSafe for PushReport
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