Struct jenkins_api::build::ShortBuild [−][src]
pub struct ShortBuild<T: Build = CommonBuild> { pub url: String, pub number: u32, // some fields omitted }
Short Build that is used in lists and links from other structs
Fields
url: String
URL for the build
number: u32
Build number
Methods
impl<T> ShortBuild<T> where
T: Build,
T: Deserialize<'de>,
[src]
impl<T> ShortBuild<T> where
T: Build,
T: Deserialize<'de>,
pub fn get_full_build(&self, jenkins_client: &Jenkins) -> Result<T, Error>
[src]
pub fn get_full_build(&self, jenkins_client: &Jenkins) -> Result<T, Error>
Get the full details of a Build
matching the ShortBuild
Trait Implementations
impl<T: Debug + Build> Debug for ShortBuild<T>
[src]
impl<T: Debug + Build> Debug for ShortBuild<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 + Build> Clone for ShortBuild<T>
[src]
impl<T: Clone + Build> Clone for ShortBuild<T>
fn clone(&self) -> ShortBuild<T>
[src]
fn clone(&self) -> ShortBuild<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
Auto Trait Implementations
impl<T> Send for ShortBuild<T> where
T: Send,
impl<T> Send for ShortBuild<T> where
T: Send,
impl<T> Sync for ShortBuild<T> where
T: Sync,
impl<T> Sync for ShortBuild<T> where
T: Sync,