Struct azure_devops_rust_api::distributed_task::models::ElasticNode   
source · pub struct ElasticNode {
    pub agent_id: Option<i32>,
    pub agent_state: Option<AgentState>,
    pub compute_id: Option<String>,
    pub compute_state: Option<ComputeState>,
    pub desired_state: Option<DesiredState>,
    pub id: Option<i32>,
    pub name: Option<String>,
    pub pool_id: Option<i32>,
    pub request_id: Option<i64>,
    pub state: Option<State>,
    pub state_changed_on: Option<OffsetDateTime>,
}Expand description
Data and settings for an elastic node
Fields§
§agent_id: Option<i32>Distributed Task’s Agent Id
agent_state: Option<AgentState>Summary of the state of the agent
compute_id: Option<String>Compute Id. VMSS’s InstanceId
compute_state: Option<ComputeState>State of the compute host
desired_state: Option<DesiredState>Users can force state changes to specific states (ToReimage, ToDelete, Save)
id: Option<i32>Unique identifier since the agent and/or VM may be null
name: Option<String>Computer name. Used to match a scaleset VM with an agent
pool_id: Option<i32>Pool Id that this node belongs to
request_id: Option<i64>Last job RequestId assigned to this agent
state: Option<State>State of the ElasticNode
state_changed_on: Option<OffsetDateTime>Last state change. Only updated by SQL.
Implementations§
source§impl ElasticNode
 
impl ElasticNode
Trait Implementations§
source§impl Clone for ElasticNode
 
impl Clone for ElasticNode
source§fn clone(&self) -> ElasticNode
 
fn clone(&self) -> ElasticNode
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 ElasticNode
 
impl Debug for ElasticNode
source§impl Default for ElasticNode
 
impl Default for ElasticNode
source§fn default() -> ElasticNode
 
fn default() -> ElasticNode
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ElasticNode
 
impl<'de> Deserialize<'de> for ElasticNode
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 ElasticNode
 
impl PartialEq for ElasticNode
source§fn eq(&self, other: &ElasticNode) -> bool
 
fn eq(&self, other: &ElasticNode) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for ElasticNode
 
impl Serialize for ElasticNode
impl StructuralPartialEq for ElasticNode
Auto Trait Implementations§
impl RefUnwindSafe for ElasticNode
impl Send for ElasticNode
impl Sync for ElasticNode
impl Unpin for ElasticNode
impl UnwindSafe for ElasticNode
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