pub struct Service {Show 16 fields
pub address: Option<String>,
pub address_mode: Option<String>,
pub canary_meta: Option<HashMap<String, String>>,
pub canary_tags: Option<Vec<String>>,
pub check_restart: Option<CheckRestart>,
pub checks: Option<Vec<ServiceCheck>>,
pub connect: Option<ConsulConnect>,
pub enable_tag_override: Option<bool>,
pub meta: Option<HashMap<String, String>>,
pub name: Option<String>,
pub on_update: Option<String>,
pub port_label: Option<String>,
pub provider: Option<String>,
pub tagged_addresses: Option<HashMap<String, String>>,
pub tags: Option<Vec<String>>,
pub task_name: Option<String>,
}Fields§
§address: Option<String>§address_mode: Option<String>§canary_meta: Option<HashMap<String, String>>§check_restart: Option<CheckRestart>§checks: Option<Vec<ServiceCheck>>§connect: Option<ConsulConnect>§enable_tag_override: Option<bool>§meta: Option<HashMap<String, String>>§name: Option<String>§on_update: Option<String>§port_label: Option<String>§provider: Option<String>§tagged_addresses: Option<HashMap<String, String>>§task_name: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Service
impl<'de> Deserialize<'de> for Service
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
impl StructuralPartialEq for Service
Auto Trait Implementations§
impl Freeze for Service
impl RefUnwindSafe for Service
impl Send for Service
impl Sync for Service
impl Unpin for Service
impl UnwindSafe for Service
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