[][src]Struct openshift_openapi::api::build::v1::BuildTriggerCause

pub struct BuildTriggerCause {
    pub bitbucket_web_hook: Option<BitbucketWebHookCause>,
    pub generic_web_hook: Option<GenericWebHookCause>,
    pub github_web_hook: Option<GitHubWebHookCause>,
    pub gitlab_web_hook: Option<GitLabWebHookCause>,
    pub image_change_build: Option<ImageChangeCause>,
    pub message: Option<String>,
}

BuildTriggerCause holds information about a triggered build. It is used for displaying build trigger data for each build and build configuration in oc describe. It is also used to describe which triggers led to the most recent update in the build configuration.

Fields

bitbucket_web_hook: Option<BitbucketWebHookCause>

BitbucketWebHook represents data for a Bitbucket webhook that fired a specific build.

generic_web_hook: Option<GenericWebHookCause>

genericWebHook holds data about a builds generic webhook trigger.

github_web_hook: Option<GitHubWebHookCause>

gitHubWebHook represents data for a GitHub webhook that fired a specific build.

gitlab_web_hook: Option<GitLabWebHookCause>

GitLabWebHook represents data for a GitLab webhook that fired a specific build.

image_change_build: Option<ImageChangeCause>

imageChangeBuild stores information about an imagechange event that triggered a new build.

message: Option<String>

message is used to store a human readable message for why the build was triggered. E.g.: "Manually triggered by user", "Configuration change",etc.

Trait Implementations

impl Clone for BuildTriggerCause[src]

impl Debug for BuildTriggerCause[src]

impl Default for BuildTriggerCause[src]

impl<'de> Deserialize<'de> for BuildTriggerCause[src]

impl PartialEq<BuildTriggerCause> for BuildTriggerCause[src]

impl Serialize for BuildTriggerCause[src]

impl StructuralPartialEq for BuildTriggerCause[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.