pub struct BlockShape {
pub checkout_mode: CheckoutMode,
pub integration: Integration,
pub merge_form: MergeForm,
pub workflow_guards: bool,
pub release: bool,
}Expand description
The axes every landed block reads, resolved from one target’s parameters.
Fields§
§checkout_mode: CheckoutModeWhere a topic branch opens.
integration: IntegrationWhich authority moves an implementation onto the trunk.
merge_form: MergeFormHow the commits of a branch reach the trunk.
workflow_guards: boolWhether the target selects the workflow guards.
release: boolWhether the record names a release: any mode but none.
Implementations§
Source§impl BlockShape
impl BlockShape
Sourcepub const fn releasing(
checkout_mode: CheckoutMode,
integration: Integration,
workflow_guards: bool,
) -> Self
pub const fn releasing( checkout_mode: CheckoutMode, integration: Integration, workflow_guards: bool, ) -> Self
A release-bearing squash shape on the two given axes, the shape
every target took before the merge form and the release-less
variants existed.
Trait Implementations§
Source§impl Clone for BlockShape
impl Clone for BlockShape
impl Copy for BlockShape
Source§impl Debug for BlockShape
impl Debug for BlockShape
impl Eq for BlockShape
Source§impl PartialEq for BlockShape
impl PartialEq for BlockShape
impl StructuralPartialEq for BlockShape
Auto Trait Implementations§
impl Forget for BlockShape
impl Freeze for BlockShape
impl Move for BlockShape
impl RefUnwindSafe for BlockShape
impl Send for BlockShape
impl Sync for BlockShape
impl Unpin for BlockShape
impl UnsafeUnpin for BlockShape
impl UnwindSafe for BlockShape
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.