pub enum TriggerDraft {
Drafted {
slug: String,
},
Duplicate {
slug: String,
},
}Expand description
Outcome of drafting a trigger ticket.
Variants§
Drafted
The ticket was written (state New, ready for the draft pipeline).
Duplicate
A ticket for this trigger already exists — a second event for the same workflow run / PR is a no-op, never a duplicate ticket.
Trait Implementations§
Source§impl Clone for TriggerDraft
impl Clone for TriggerDraft
Source§fn clone(&self) -> TriggerDraft
fn clone(&self) -> TriggerDraft
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 TriggerDraft
impl Debug for TriggerDraft
impl Eq for TriggerDraft
Source§impl PartialEq for TriggerDraft
impl PartialEq for TriggerDraft
impl StructuralPartialEq for TriggerDraft
Auto Trait Implementations§
impl Freeze for TriggerDraft
impl RefUnwindSafe for TriggerDraft
impl Send for TriggerDraft
impl Sync for TriggerDraft
impl Unpin for TriggerDraft
impl UnsafeUnpin for TriggerDraft
impl UnwindSafe for TriggerDraft
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