pub struct Trigger {
pub kind: TriggerKind,
pub dedup_id: String,
pub title: String,
pub source_url: String,
pub actor: String,
pub excerpt: String,
pub consent: Consent,
}Expand description
One accepted trigger, normalized out of the webhook payload. Every field that lands in the ticket is already bounded and scrubbed.
Fields§
§kind: TriggerKind§dedup_id: StringDedup identity: the workflow run id or the PR number.
title: String§source_url: StringTrigger source url (workflow run / comment permalink).
actor: String§excerpt: StringBounded, scrubbed failure/comment excerpt for the ticket body.
consent: ConsentTrait Implementations§
impl Eq for Trigger
impl StructuralPartialEq for Trigger
Auto Trait Implementations§
impl Freeze for Trigger
impl RefUnwindSafe for Trigger
impl Send for Trigger
impl Sync for Trigger
impl Unpin for Trigger
impl UnsafeUnpin for Trigger
impl UnwindSafe for Trigger
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