pub struct AgentServiceRegistration {Show 15 fields
pub address: Option<String>,
pub check: Option<AgentServiceCheck>,
pub checks: Option<Vec<AgentServiceCheck>>,
pub connect: Option<Box<AgentServiceConnect>>,
pub enable_tag_override: Option<bool>,
pub id: Option<String>,
pub kind: Option<String>,
pub meta: Option<HashMap<String, String>>,
pub name: Option<String>,
pub ns: Option<String>,
pub port: Option<u64>,
pub proxy: Option<AgentServiceConnectProxy>,
pub tagged_addresses: Option<HashMap<String, String>>,
pub tags: Option<Vec<String>>,
pub weights: Option<AgentWeights>,
}Fields§
§address: Option<String>§check: Option<AgentServiceCheck>§checks: Option<Vec<AgentServiceCheck>>§connect: Option<Box<AgentServiceConnect>>§enable_tag_override: Option<bool>§id: Option<String>§kind: Option<String>§meta: Option<HashMap<String, String>>§name: Option<String>§ns: Option<String>§port: Option<u64>§proxy: Option<AgentServiceConnectProxy>§tagged_addresses: Option<HashMap<String, String>>§weights: Option<AgentWeights>Trait Implementations§
Source§impl Clone for AgentServiceRegistration
impl Clone for AgentServiceRegistration
Source§fn clone(&self) -> AgentServiceRegistration
fn clone(&self) -> AgentServiceRegistration
Returns a duplicate 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 AgentServiceRegistration
impl Debug for AgentServiceRegistration
Source§impl Default for AgentServiceRegistration
impl Default for AgentServiceRegistration
Source§fn default() -> AgentServiceRegistration
fn default() -> AgentServiceRegistration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentServiceRegistration
impl<'de> Deserialize<'de> for AgentServiceRegistration
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
Auto Trait Implementations§
impl Freeze for AgentServiceRegistration
impl RefUnwindSafe for AgentServiceRegistration
impl Send for AgentServiceRegistration
impl Sync for AgentServiceRegistration
impl Unpin for AgentServiceRegistration
impl UnwindSafe for AgentServiceRegistration
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