pub struct TaskAgentJobRequest {
Show 29 fields pub agent_specification: Option<Value>, pub assign_time: Option<OffsetDateTime>, pub data: Option<Value>, pub definition: Option<TaskOrchestrationOwner>, pub demands: Vec<Demand>, pub finish_time: Option<OffsetDateTime>, pub host_id: Option<String>, pub job_id: Option<String>, pub job_name: Option<String>, pub locked_until: Option<OffsetDateTime>, pub matched_agents: Vec<TaskAgentReference>, pub matches_all_agents_in_pool: Option<bool>, pub orchestration_id: Option<String>, pub owner: Option<TaskOrchestrationOwner>, pub plan_group: Option<String>, pub plan_id: Option<String>, pub plan_type: Option<String>, pub pool_id: Option<i32>, pub priority: Option<i32>, pub queue_id: Option<i32>, pub queue_time: Option<OffsetDateTime>, pub receive_time: Option<OffsetDateTime>, pub request_id: Option<i64>, pub reserved_agent: Option<TaskAgentReference>, pub result: Option<Result>, pub scope_id: Option<String>, pub service_owner: Option<String>, pub status_message: Option<String>, pub user_delayed: Option<bool>,
}
Expand description

A job request for an agent.

Fields§

§agent_specification: Option<Value>§assign_time: Option<OffsetDateTime>

The date/time this request was assigned.

§data: Option<Value>

Additional data about the request.

§definition: Option<TaskOrchestrationOwner>
§demands: Vec<Demand>

A list of demands required to fulfill this request.

§finish_time: Option<OffsetDateTime>

The date/time this request was finished.

§host_id: Option<String>

The host which triggered this request.

§job_id: Option<String>

ID of the job resulting from this request.

§job_name: Option<String>

Name of the job resulting from this request.

§locked_until: Option<OffsetDateTime>

The deadline for the agent to renew the lock.

§matched_agents: Vec<TaskAgentReference>§matches_all_agents_in_pool: Option<bool>§orchestration_id: Option<String>§owner: Option<TaskOrchestrationOwner>
§plan_group: Option<String>§plan_id: Option<String>

Internal ID for the orchestration plan connected with this request.

§plan_type: Option<String>

Internal detail representing the type of orchestration plan.

§pool_id: Option<i32>

The ID of the pool this request targets

§priority: Option<i32>§queue_id: Option<i32>

The ID of the queue this request targets

§queue_time: Option<OffsetDateTime>

The date/time this request was queued.

§receive_time: Option<OffsetDateTime>

The date/time this request was receieved by an agent.

§request_id: Option<i64>

ID of the request.

§reserved_agent: Option<TaskAgentReference>

A reference to an agent.

§result: Option<Result>

The result of this request.

§scope_id: Option<String>

Scope of the pipeline; matches the project ID.

§service_owner: Option<String>

The service which owns this request.

§status_message: Option<String>§user_delayed: Option<bool>

Implementations§

Trait Implementations§

source§

impl Clone for TaskAgentJobRequest

source§

fn clone(&self) -> TaskAgentJobRequest

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TaskAgentJobRequest

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for TaskAgentJobRequest

source§

fn default() -> TaskAgentJobRequest

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for TaskAgentJobRequest

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq for TaskAgentJobRequest

source§

fn eq(&self, other: &TaskAgentJobRequest) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for TaskAgentJobRequest

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl StructuralPartialEq for TaskAgentJobRequest

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for T
where T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,