Struct async_consul::CatalogServiceNode[][src]

pub struct CatalogServiceNode {
    pub id: String,
    pub node: String,
    pub address: String,
    pub datacenter: String,
    pub tagged_addresses: HashMap<String, String>,
    pub node_meta: HashMap<String, String>,
    pub service_id: String,
    pub service_name: String,
    pub service_address: String,
    pub service_tagged_addresses: Option<HashMap<String, ServiceAddress>>,
    pub service_tags: Vec<String>,
    pub service_meta: HashMap<String, String>,
    pub service_port: u16,
    pub service_weights: Option<Weights>,
    pub service_enable_tag_override: bool,
    pub create_index: u64,
    pub checks: Option<Vec<HealthCheck>>,
    pub modify_index: u64,
    pub namespace: Option<String>,
}

Fields

id: Stringnode: Stringaddress: Stringdatacenter: Stringtagged_addresses: HashMap<String, String>node_meta: HashMap<String, String>service_id: Stringservice_name: Stringservice_address: Stringservice_tagged_addresses: Option<HashMap<String, ServiceAddress>>service_tags: Vec<String>service_meta: HashMap<String, String>service_port: u16service_weights: Option<Weights>service_enable_tag_override: boolcreate_index: u64checks: Option<Vec<HealthCheck>>modify_index: u64namespace: Option<String>

Trait Implementations

impl Debug for CatalogServiceNode[src]

impl<'de> Deserialize<'de> for CatalogServiceNode[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> Instrument for T[src]

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

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.