Struct nomad_client::models::service::Service[][src]

pub struct Service {
    pub ID: Option<String>,
    pub name: Option<String>,
    pub tags: Option<Vec<String>>,
    pub canary_tags: Option<Vec<String>>,
    pub enable_tag_override: Option<bool>,
    pub port_label: Option<String>,
    pub address_mode: Option<String>,
    pub checks: Option<Vec<ServiceCheck>>,
    pub check_restart: Option<Box<CheckRestart>>,
    pub connect: Option<Box<ConsulConnect>>,
    pub meta: Option<HashMap<String, String>>,
    pub canary_meta: Option<HashMap<String, String>>,
}

Fields

ID: Option<String>name: Option<String>tags: Option<Vec<String>>canary_tags: Option<Vec<String>>enable_tag_override: Option<bool>port_label: Option<String>address_mode: Option<String>checks: Option<Vec<ServiceCheck>>check_restart: Option<Box<CheckRestart>>connect: Option<Box<ConsulConnect>>meta: Option<HashMap<String, String>>canary_meta: Option<HashMap<String, String>>

Implementations

impl Service[src]

pub fn new() -> Service[src]

Trait Implementations

impl Clone for Service[src]

impl Debug for Service[src]

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

impl PartialEq<Service> for Service[src]

impl Serialize for Service[src]

impl StructuralPartialEq for Service[src]

Auto Trait Implementations

impl RefUnwindSafe for Service

impl Send for Service

impl Sync for Service

impl Unpin for Service

impl UnwindSafe for Service

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.