[][src]Struct jenkins_api::queue::QueueItem

pub struct QueueItem {
    pub blocked: bool,
    pub buildable: bool,
    pub cancelled: Option<bool>,
    pub id: u32,
    pub in_queue_since: u64,
    pub params: String,
    pub stuck: bool,
    pub task: ShortJob,
    pub url: String,
    pub why: Option<String>,
    pub buildable_start_milliseconds: Option<u64>,
    pub executable: Option<ShortBuild>,
    pub actions: Vec<CommonAction>,
}

A queued item in Jenkins, with information about the Job and why / since when it's waiting

Fields

blocked: bool

Is this item blocked

buildable: bool

Is this item buildable

cancelled: Option<bool>

Has this item been cancelled

id: u32

ID in the queue

in_queue_since: u64

When was it added to the queue

params: String

Task parameters

stuck: bool

Is the job stuck? Node needed is offline, or waitied for very long in queue

task: ShortJob

Link to the job waiting in the queue

url: String

URL to this queued item

why: Option<String>

Why is this task in the queue

buildable_start_milliseconds: Option<u64>

When did the job exited the queue

executable: Option<ShortBuild>

Link to the build once it has started

actions: Vec<CommonAction>

Build actions

Implementations

impl QueueItem[src]

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

Refresh a QueueItem, consuming the existing one and returning a new QueueItem

Trait Implementations

impl Debug for QueueItem[src]

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

impl Serialize for QueueItem[src]

Auto Trait Implementations

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.