Struct jenkins_api::queue::QueueItem
source · 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: boolIs this item blocked
buildable: boolIs this item buildable
cancelled: Option<bool>Has this item been cancelled
id: u32ID in the queue
in_queue_since: u64When was it added to the queue
params: StringTask parameters
stuck: boolIs the job stuck? Node needed is offline, or waitied for very long in queue
task: ShortJobLink to the job waiting in the queue
url: StringURL 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§
Trait Implementations§
source§impl<'de> Deserialize<'de> for QueueItem
impl<'de> Deserialize<'de> for QueueItem
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more