Struct jenkins_api::job::ShortJob[][src]

pub struct ShortJob<T: Job = CommonJob> {
    pub name: String,
    pub url: String,
    pub color: BallColor,
    // some fields omitted
}

Short Job that is used in lists and links from other structs

Fields

Name of the job

URL for the job

Ball Color for the status of the job

Methods

impl<T> ShortJob<T> where
    T: Job,
    T: Deserialize<'de>, 
[src]

Get the full details of a Job matching the ShortJob

Trait Implementations

impl<T: Debug + Job> Debug for ShortJob<T>
[src]

Formats the value using the given formatter. Read more

impl<T: Clone + Job> Clone for ShortJob<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> From<&'a ShortJob> for JobName<'a>
[src]

Performs the conversion.

Auto Trait Implementations

impl<T> Send for ShortJob<T> where
    T: Send

impl<T> Sync for ShortJob<T> where
    T: Sync