Struct nomad_client::models::agent_member::AgentMember[][src]

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>tags: Option<HashMap<String, String>>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>

Implementations

impl AgentMember[src]

pub fn new() -> AgentMember[src]

Trait Implementations

impl Clone for AgentMember[src]

impl Debug for AgentMember[src]

impl<'de> Deserialize<'de> for AgentMember[src]

impl PartialEq<AgentMember> for AgentMember[src]

impl Serialize for AgentMember[src]

impl StructuralPartialEq for AgentMember[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.