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
 
impl Clone for TaskAgentJobRequest
source§fn clone(&self) -> TaskAgentJobRequest
 
fn clone(&self) -> TaskAgentJobRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TaskAgentJobRequest
 
impl Debug for TaskAgentJobRequest
source§impl Default for TaskAgentJobRequest
 
impl Default for TaskAgentJobRequest
source§fn default() -> TaskAgentJobRequest
 
fn default() -> TaskAgentJobRequest
source§impl<'de> Deserialize<'de> for TaskAgentJobRequest
 
impl<'de> Deserialize<'de> for TaskAgentJobRequest
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>,
source§impl PartialEq for TaskAgentJobRequest
 
impl PartialEq for TaskAgentJobRequest
source§fn eq(&self, other: &TaskAgentJobRequest) -> bool
 
fn eq(&self, other: &TaskAgentJobRequest) -> bool
self and other values to be equal, and is used
by ==.