[−][src]Struct jenkins_api::queue::QueueItem
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
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]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Serialize for QueueItem[src]
Auto Trait Implementations
impl RefUnwindSafe for QueueItem
impl Send for QueueItem
impl Sync for QueueItem
impl Unpin for QueueItem
impl UnwindSafe for QueueItem
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,