Struct gitlab::webhooks::PipelineHook [−][src]
pub struct PipelineHook {
pub object_kind: String,
pub object_attributes: PipelineHookAttrs,
pub merge_request: Option<PipelineMergeRequestAttrs>,
pub user: UserHookAttrs,
pub project: PipelineProjectAttrs,
pub commit: Option<CommitHookAttrs>,
}Fields
object_kind: StringThe event which occured.
object_attributes: PipelineHookAttrsThe pipeline.
merge_request: Option<PipelineMergeRequestAttrs>The merge request this pipeline is running for.
user: UserHookAttrsThe user that started the the pipeline.
project: PipelineProjectAttrsThe project this pipeline is running in.
commit: Option<CommitHookAttrs>The commit this pipeline is running for
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for PipelineHook
impl Send for PipelineHook
impl Sync for PipelineHook
impl Unpin for PipelineHook
impl UnwindSafe for PipelineHook
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