Struct azure_devops_rust_api::build::models::AgentPoolQueueTarget
source · pub struct AgentPoolQueueTarget {
pub phase_target: PhaseTarget,
pub agent_specification: Option<AgentSpecification>,
pub allow_scripts_auth_access_option: Option<bool>,
pub demands: Vec<Demand>,
pub execution_options: Option<AgentTargetExecutionOptions>,
pub queue: Option<AgentPoolQueue>,
}
Expand description
Describes how a phase should run against an agent queue.
Fields§
§phase_target: PhaseTarget
§agent_specification: Option<AgentSpecification>
Specification of the agent defined by the pool provider.
allow_scripts_auth_access_option: Option<bool>
Enables scripts and other processes launched while executing phase to access the OAuth token
demands: Vec<Demand>
§execution_options: Option<AgentTargetExecutionOptions>
Additional options for running phases against an agent queue.
queue: Option<AgentPoolQueue>
Represents a queue for running builds.
Implementations§
Trait Implementations§
source§impl Clone for AgentPoolQueueTarget
impl Clone for AgentPoolQueueTarget
source§fn clone(&self) -> AgentPoolQueueTarget
fn clone(&self) -> AgentPoolQueueTarget
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AgentPoolQueueTarget
impl Debug for AgentPoolQueueTarget
source§impl Default for AgentPoolQueueTarget
impl Default for AgentPoolQueueTarget
source§fn default() -> AgentPoolQueueTarget
fn default() -> AgentPoolQueueTarget
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AgentPoolQueueTarget
impl<'de> Deserialize<'de> for AgentPoolQueueTarget
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
source§impl PartialEq for AgentPoolQueueTarget
impl PartialEq for AgentPoolQueueTarget
source§fn eq(&self, other: &AgentPoolQueueTarget) -> bool
fn eq(&self, other: &AgentPoolQueueTarget) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AgentPoolQueueTarget
impl Serialize for AgentPoolQueueTarget
impl StructuralPartialEq for AgentPoolQueueTarget
Auto Trait Implementations§
impl RefUnwindSafe for AgentPoolQueueTarget
impl Send for AgentPoolQueueTarget
impl Sync for AgentPoolQueueTarget
impl Unpin for AgentPoolQueueTarget
impl UnwindSafe for AgentPoolQueueTarget
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