Struct nomad_client_rs::models::agent_member::AgentMember
source · pub struct AgentMember {
pub name: Option<String>,
pub addr: Option<String>,
pub port: Option<i32>,
pub tags: Option<HashMap<String, String>>,
pub status: Option<String>,
pub protocol_min: Option<i32>,
pub protocol_max: Option<i32>,
pub protocol_cur: Option<i32>,
pub delegate_min: Option<i32>,
pub delegate_max: Option<i32>,
pub delegate_cur: Option<i32>,
}
Fields§
§name: Option<String>
§addr: Option<String>
§port: Option<i32>
§status: Option<String>
§protocol_min: Option<i32>
§protocol_max: Option<i32>
§protocol_cur: Option<i32>
§delegate_min: Option<i32>
§delegate_max: Option<i32>
§delegate_cur: Option<i32>
Trait Implementations§
source§impl Clone for AgentMember
impl Clone for AgentMember
source§fn clone(&self) -> AgentMember
fn clone(&self) -> AgentMember
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 AgentMember
impl Debug for AgentMember
source§impl Default for AgentMember
impl Default for AgentMember
source§fn default() -> AgentMember
fn default() -> AgentMember
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AgentMember
impl<'de> Deserialize<'de> for AgentMember
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