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

pub struct BuildTriggerPolicy {
    pub bitbucket: Option<WebHookTrigger>,
    pub generic: Option<WebHookTrigger>,
    pub github: Option<WebHookTrigger>,
    pub gitlab: Option<WebHookTrigger>,
    pub image_change: Option<ImageChangeTrigger>,
    pub type_: String,
}

BuildTriggerPolicy describes a policy for a single trigger that results in a new Build.

Fields

bitbucket: Option<WebHookTrigger>

BitbucketWebHook contains the parameters for a Bitbucket webhook type of trigger

generic: Option<WebHookTrigger>

generic contains the parameters for a Generic webhook type of trigger

github: Option<WebHookTrigger>

github contains the parameters for a GitHub webhook type of trigger

gitlab: Option<WebHookTrigger>

GitLabWebHook contains the parameters for a GitLab webhook type of trigger

image_change: Option<ImageChangeTrigger>

imageChange contains parameters for an ImageChange type of trigger

type_: String

type is the type of build trigger

Trait Implementations

impl Clone for BuildTriggerPolicy[src]

impl Debug for BuildTriggerPolicy[src]

impl Default for BuildTriggerPolicy[src]

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

impl PartialEq<BuildTriggerPolicy> for BuildTriggerPolicy[src]

impl Serialize for BuildTriggerPolicy[src]

impl StructuralPartialEq for BuildTriggerPolicy[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.