[][src]Struct jenkins_api::build::ShortBuild

pub struct ShortBuild<T: Build = CommonBuild> {
    pub url: String,
    pub number: u32,
    pub display_name: Option<String>,
    pub timestamp: Option<u64>,
    // 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

display_name: Option<String>

Display name for the build

timestamp: Option<u64>

Timestamp for the build

Implementations

impl<T> ShortBuild<T> where
    T: Build,
    T: Deserialize<'de>, 
[src]

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

Get the full details of a Build matching the ShortBuild

Trait Implementations

impl<T: Clone + Build> Clone for ShortBuild<T>[src]

impl<T: Debug + Build> Debug for ShortBuild<T>[src]

impl<'de, T: Build> Deserialize<'de> for ShortBuild<T>[src]

impl<T: Build> Serialize for ShortBuild<T>[src]

Auto Trait Implementations

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

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

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

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

impl<T> UnwindSafe for ShortBuild<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.