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: String
Name of the job
url: String
URL for the job
color: BallColor
Ball Color for the status of the job
Methods
impl<T> ShortJob<T> where
T: Job,
T: Deserialize<'de>,
[src]
impl<T> ShortJob<T> where
T: Job,
T: Deserialize<'de>,
pub fn get_full_job(&self, jenkins_client: &Jenkins) -> Result<T, Error>
[src]
pub fn get_full_job(&self, jenkins_client: &Jenkins) -> Result<T, Error>
Get the full details of a Job
matching the ShortJob
Trait Implementations
impl<T: Debug + Job> Debug for ShortJob<T>
[src]
impl<T: Debug + Job> Debug for ShortJob<T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T: Clone + Job> Clone for ShortJob<T>
[src]
impl<T: Clone + Job> Clone for ShortJob<T>
fn clone(&self) -> ShortJob<T>
[src]
fn clone(&self) -> ShortJob<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'a> From<&'a ShortJob> for JobName<'a>
[src]
impl<'a> From<&'a ShortJob> for JobName<'a>