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

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

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

Fields

name: String

Name of the job

url: String

URL for the job

color: Option<BallColor>

Ball Color for the status of the job

Implementations

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

pub fn get_full_job(&self, jenkins_client: &Jenkins) -> Result<T>[src]

Get the full details of a Job matching the ShortJob

Trait Implementations

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

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

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

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

impl<T: Job> Serialize for ShortJob<T>[src]

Auto Trait Implementations

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

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

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

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

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

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.