[][src]Struct shelper::builds::Build

pub struct Build {
    pub status: String,
    pub name: Option<String>,
    pub deletion_time: Option<String>,
    pub jobs: Jobs,
    pub org_id: String,
    pub start_time: u64,
    pub creation_time: u64,
    pub modification_time: u64,
    pub end_time: u64,
    pub number: Option<String>,
    pub public: bool,
    pub prefix: Option<String>,
    pub passed: bool,
    pub owner: String,
    pub run: Option<i64>,
    pub team_id: String,
    pub group_id: Option<String>,
    pub id: String,
}

Fields

status: Stringname: Option<String>deletion_time: Option<String>jobs: Jobsorg_id: Stringstart_time: u64creation_time: u64modification_time: u64end_time: u64number: Option<String>public: boolprefix: Option<String>passed: boolowner: Stringrun: Option<i64>team_id: Stringgroup_id: Option<String>id: String

Implementations

impl Build[src]

pub fn new(build_id: &str, user: User) -> Result<Build, Box<dyn Error>>[src]

Trait Implementations

impl Debug for Build[src]

impl<'de> Deserialize<'de> for Build[src]

impl Serialize for Build[src]

Auto Trait Implementations

impl RefUnwindSafe for Build

impl Send for Build

impl Sync for Build

impl Unpin for Build

impl UnwindSafe for Build

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, 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.