pub struct StackBase {
pub branch: String,
pub head: Sha,
pub parents: Vec<StackParent>,
pub outcome: StackBaseOutcome,
}Expand description
What one assembly of a stack base did.
Fields§
§branch: StringThe stack base branch.
head: ShaWhere the branch stands: what was pushed, what the origin already had, or —
for StackBaseOutcome::Conflicted — the commit the merge left in progress
is being made on.
parents: Vec<StackParent>Every parent the request named, in its order, with the head it was read at.
outcome: StackBaseOutcomeWhich of the four things this assembly found to do.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StackBase
impl<'de> Deserialize<'de> for StackBase
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for StackBase
impl StructuralPartialEq for StackBase
Auto Trait Implementations§
impl Freeze for StackBase
impl RefUnwindSafe for StackBase
impl Send for StackBase
impl Sync for StackBase
impl Unpin for StackBase
impl UnsafeUnpin for StackBase
impl UnwindSafe for StackBase
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.