pub struct QueueItem {
Show 13 fields 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>,
}
Expand description

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§

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

Trait Implementations§

Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.