pub struct TrainEntry {
pub id: u64,
pub head: String,
pub merged: bool,
pub merge: Option<String>,
pub note: String,
pub already_landed: bool,
}Expand description
One PR’s fate in a train build.
Fields§
§id: u64PR number (or any caller-chosen id in tests).
head: StringThe PR head oid this entry was built from.
merged: boolWhether the merge onto the train succeeded.
merge: Option<String>The speculative merge commit, absent when the PR conflicted.
note: StringHuman-readable note (merge position or the conflict reason).
already_landed: boolThe PR’s every commit is already in the train by patch identity
(git patch-id --stable equivalence via
git cherry): the train rewrote or landed this change earlier,
so it was recognized rather than re-merged — a success, not a
conflict, despite merged being false.
Trait Implementations§
Source§impl Clone for TrainEntry
impl Clone for TrainEntry
Source§fn clone(&self) -> TrainEntry
fn clone(&self) -> TrainEntry
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 TrainEntry
impl Debug for TrainEntry
Source§impl PartialEq for TrainEntry
impl PartialEq for TrainEntry
Source§fn eq(&self, other: &TrainEntry) -> bool
fn eq(&self, other: &TrainEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TrainEntry
impl StructuralPartialEq for TrainEntry
Auto Trait Implementations§
impl Freeze for TrainEntry
impl RefUnwindSafe for TrainEntry
impl Send for TrainEntry
impl Sync for TrainEntry
impl Unpin for TrainEntry
impl UnsafeUnpin for TrainEntry
impl UnwindSafe for TrainEntry
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