pub struct TrainReport {
pub green: bool,
pub state: &'static str,
pub description: &'static str,
}Expand description
What one train verdict means for the PRs riding it.
Fields§
§green: boolWhether the train may land. The only input to that decision, so that neither check signal gets a landing rule of its own.
state: &'static strCommit-status state: success, failure, or error.
description: &'static strCommit-status description. Fixed strings, never anything an executor or a pull request wrote — the Rule of Two applies to what we say as well as to what we read.
Trait Implementations§
Source§impl Clone for TrainReport
impl Clone for TrainReport
Source§fn clone(&self) -> TrainReport
fn clone(&self) -> TrainReport
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 TrainReport
impl Debug for TrainReport
Source§impl PartialEq for TrainReport
impl PartialEq for TrainReport
Source§fn eq(&self, other: &TrainReport) -> bool
fn eq(&self, other: &TrainReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TrainReport
impl Eq for TrainReport
impl StructuralPartialEq for TrainReport
Auto Trait Implementations§
impl Freeze for TrainReport
impl RefUnwindSafe for TrainReport
impl Send for TrainReport
impl Sync for TrainReport
impl Unpin for TrainReport
impl UnsafeUnpin for TrainReport
impl UnwindSafe for TrainReport
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