pub enum GitAutomationStates {
Draft,
Start,
Review,
Mergeable,
Merge,
Unknown,
}Expand description
The Git events that can trigger an automation rule. Each value corresponds to a pull/merge request lifecycle event (e.g., branch created, PR opened for review, PR merged).
Variants§
Trait Implementations§
Source§impl Clone for GitAutomationStates
impl Clone for GitAutomationStates
Source§fn clone(&self) -> GitAutomationStates
fn clone(&self) -> GitAutomationStates
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 GitAutomationStates
impl Debug for GitAutomationStates
Source§impl<'de> Deserialize<'de> for GitAutomationStates
impl<'de> Deserialize<'de> for GitAutomationStates
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
Source§impl PartialEq for GitAutomationStates
impl PartialEq for GitAutomationStates
Source§fn eq(&self, other: &GitAutomationStates) -> bool
fn eq(&self, other: &GitAutomationStates) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GitAutomationStates
impl Serialize for GitAutomationStates
impl Eq for GitAutomationStates
impl StructuralPartialEq for GitAutomationStates
Auto Trait Implementations§
impl Freeze for GitAutomationStates
impl RefUnwindSafe for GitAutomationStates
impl Send for GitAutomationStates
impl Sync for GitAutomationStates
impl Unpin for GitAutomationStates
impl UnsafeUnpin for GitAutomationStates
impl UnwindSafe for GitAutomationStates
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