Enum gitlab::webhooks::WebHook [−][src]
pub enum WebHook {
Push(Box<PushHook>),
Issue(Box<IssueHook>),
MergeRequest(Box<MergeRequestHook>),
Note(Box<NoteHook>),
Build(Box<BuildHook>),
Pipeline(Box<PipelineHook>),
WikiPage(Box<WikiPageHook>),
}Expand description
A deserializable structure for all Gitlab web hooks.
Variants
A push hook.
An issue hook.
MergeRequest(Box<MergeRequestHook>)A merge request hook.
Tuple Fields of MergeRequest
0: Box<MergeRequestHook>A note hook.
A build hook.
Pipeline(Box<PipelineHook>)A pipeline hook.
Tuple Fields of Pipeline
0: Box<PipelineHook>WikiPage(Box<WikiPageHook>)A wiki page hook.
Tuple Fields of WikiPage
0: Box<WikiPageHook>Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for WebHook
impl UnwindSafe for WebHook
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more