Struct jenkins_api::job::CommonJob[][src]

pub struct CommonJob {
    pub name: String,
    pub display_name: String,
    pub full_display_name: String,
    pub full_name: String,
    pub display_name_or_null: Option<String>,
    pub url: String,
    pub color: BallColor,
    pub buildable: bool,
    pub keep_dependencies: bool,
    pub next_build_number: u32,
    pub in_queue: bool,
    pub actions: Vec<Option<CommonAction>>,
    pub last_build: Option<ShortBuild<CommonBuild>>,
    pub first_build: Option<ShortBuild<CommonBuild>>,
    pub last_stable_build: Option<ShortBuild<CommonBuild>>,
    pub last_unstable_build: Option<ShortBuild<CommonBuild>>,
    pub last_successful_build: Option<ShortBuild<CommonBuild>>,
    pub last_unsuccessful_build: Option<ShortBuild<CommonBuild>>,
    pub last_completed_build: Option<ShortBuild<CommonBuild>>,
    pub last_failed_build: Option<ShortBuild<CommonBuild>>,
    pub builds: Vec<ShortBuild>,
    pub health_report: Vec<HealthReport>,
    pub queue_item: Option<ShortQueueItem>,
    pub class: Option<String>,
    // some fields omitted
}

A Jenkins Job

Fields

Name of the job

Display Name of the job

Full Display Name of the job

Full Name of the job

Display Name of the job

URL for the job

Ball Color for the status of the job

Is the job buildable?

Are dependencies kept for this job?

Next build number

Is this job currently in build queue

Actions of a job

Link to the last build

Link to the first build

Link to the last stable build

Link to the last unstable build

Link to the last successful build

Link to the last unsucressful build

Link to the last complete build

Link to the last failed build

List of builds of the job

HealthReport of the job

Queue item of this job if it's waiting

_class provided by Jenkins

Methods

impl CommonJob
[src]

Read the object as one of it's specialization implementing $trait

Trait Implementations

impl Debug for CommonJob
[src]

Formats the value using the given formatter. Read more

impl Clone for CommonJob
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Job for CommonJob
[src]

get the url of a Job

Get the name of the project

Enable a Job. It may need to be refreshed as it may have been updated

Disable a Job. It may need to be refreshed as it may have been updated

Add this job to the view view_name

Remove this job from the view view_name

Auto Trait Implementations

impl Send for CommonJob

impl Sync for CommonJob