Struct gitlab::webhooks::BuildHook [] [src]

pub struct BuildHook {
    pub object_kind: String,
    pub ref_: String,
    pub tag: String,
    pub before_sha: String,
    pub sha: String,
    pub build_id: BuildId,
    pub build_name: String,
    pub build_stage: String,
    pub build_started_at: Option<HookDate>,
    pub build_finished_at: Option<HookDate>,
    pub build_duration: Option<u64>,
    pub build_allow_failure: bool,
    pub project_id: ProjectId,
    pub user: BuildUserHookAttrs,
    pub commit: BuildCommitHookAttrs,
    pub repository: BuildProjectHookAttrs,
}

A build hook.

Fields

The event which occurred.

The name of the reference that was tested.

The object ID that was built.

The ID of the build.

The name of the build.

When the build started.

When the build completed.

Whether the build is allowed to fail.

The ID of the project.

The user which owns the build.

The commit which was built.

The repository the build is for.

Trait Implementations

impl Debug for BuildHook
[src]

Formats the value using the given formatter.

impl Clone for BuildHook
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more