pub struct Queued {
pub flight: Flight,
pub pipeline: Option<PipelineName>,
pub flags: BTreeMap<String, bool>,
}Expand description
A flight waiting to be dispatched, with the instructions needed to dispatch it.
Fields§
§flight: FlightThe flight itself.
pipeline: Option<PipelineName>The pipeline it was triggered through, when one was named rather than a bare agent.
flags: BTreeMap<String, bool>Every flag the pipeline declares, resolved to the value this run will see.
Resolved, not merely the ones the operator changed: a default that shifts between queueing and dispatch would otherwise change the meaning of work already booked.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Queued
impl<'de> Deserialize<'de> for Queued
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
impl Eq for Queued
impl StructuralPartialEq for Queued
Auto Trait Implementations§
impl Freeze for Queued
impl RefUnwindSafe for Queued
impl Send for Queued
impl Sync for Queued
impl Unpin for Queued
impl UnsafeUnpin for Queued
impl UnwindSafe for Queued
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more