pub struct MergeView {
pub mode: String,
pub state: &'static str,
pub detail: String,
pub branch: Option<String>,
pub squash_caveat: bool,
pub red_at_merge: Vec<String>,
}Expand description
What happened to the branch.
Fields§
§mode: StringMerge mode, lowercase.
state: &'static strnot_landed_by_design, ok, empty or not_merged.
detail: StringFirst line of magi’s own detail.
branch: Option<String>The branch left unmerged, for the by-design case.
squash_caveat: boolA squash merge inherits the placeholder subject.
red_at_merge: Vec<String>Checks that were red at merge.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MergeView
impl RefUnwindSafe for MergeView
impl Send for MergeView
impl Sync for MergeView
impl Unpin for MergeView
impl UnsafeUnpin for MergeView
impl UnwindSafe for MergeView
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more