pub struct Layer {
pub branch: String,
pub parent: String,
pub merged: bool,
pub parent_merged: bool,
}Expand description
One layer of a stack, bottom first, as the caller found it.
Fields§
§branch: String§parent: StringThe branch it is built on: the layer below, or the trunk.
merged: boolThe layer’s own PR has merged, so it has left the stack.
parent_merged: boolThe layer below has merged into the trunk, so this layer needs the trunk merged in rather than its old parent.
Trait Implementations§
impl Eq for Layer
impl StructuralPartialEq for Layer
Auto Trait Implementations§
impl Freeze for Layer
impl RefUnwindSafe for Layer
impl Send for Layer
impl Sync for Layer
impl Unpin for Layer
impl UnsafeUnpin for Layer
impl UnwindSafe for Layer
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