Enum jenkins_api::action::Cause [] [src]

pub enum Cause {
    UserIdCause {
        short_description: String,
        user_id: String,
        user_name: String,
    },
    RemoteCause {
        short_description: String,
        addr: String,
        note: Option<String>,
    },
    UpstreamCause {
        short_description: String,
        upstream_build: u32,
        upstream_project: String,
        upstream_url: String,
    },
    TimerTriggerCause {
        short_description: String,
    },
    SCMTriggerCause {
        short_description: String,
    },
    Unknown {
        class: Option<String>,
    },
}

A Cause on a CauseAction

Variants

Caused by a user

Fields of UserIdCause

Short description of the cause

User ID responsible

User name responsible

Caused remotely

Fields of RemoteCause

Short description of the cause

addr that triggered

Note provided when triggering the build

Caused by another project

Fields of UpstreamCause

Short description of the cause

Build number that triggered this Build

Job whose Build triggered this Build

URL to the upstream Build

Caused by a timer

Fields of TimerTriggerCause

Short description of the cause

Caused by a SCM change

Fields of SCMTriggerCause

Short description of the cause

Default case used when none other matched

Fields of Unknown

_class provided by Jenkins

Trait Implementations

impl Debug for Cause
[src]

[src]

Formats the value using the given formatter. Read more

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

[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for Cause

impl Sync for Cause