pub struct AgentService {Show 19 fields
pub address: Option<String>,
pub connect: Option<AgentServiceConnect>,
pub content_hash: Option<String>,
pub create_index: Option<u64>,
pub datacenter: Option<String>,
pub enable_tag_override: Option<bool>,
pub id: Option<String>,
pub kind: Option<String>,
pub meta: Option<HashMap<String, String>>,
pub modify_index: Option<u64>,
pub name: Option<String>,
pub namespace: Option<String>,
pub port: Option<u64>,
pub proxy: Option<AgentServiceConnectProxy>,
pub service: Option<String>,
pub socket_path: Option<String>,
pub tagged_addresses: Option<HashMap<String, String>>,
pub tags: Option<Vec<String>>,
pub weights: Option<AgentWeights>,
}Fields§
§address: Option<String>§connect: Option<AgentServiceConnect>§content_hash: Option<String>§create_index: Option<u64>§datacenter: Option<String>§enable_tag_override: Option<bool>§id: Option<String>§kind: Option<String>§meta: Option<HashMap<String, String>>§modify_index: Option<u64>§name: Option<String>§namespace: Option<String>§port: Option<u64>§proxy: Option<AgentServiceConnectProxy>§service: Option<String>§socket_path: Option<String>§tagged_addresses: Option<HashMap<String, String>>§weights: Option<AgentWeights>Trait Implementations§
Source§impl Clone for AgentService
impl Clone for AgentService
Source§fn clone(&self) -> AgentService
fn clone(&self) -> AgentService
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 AgentService
impl Debug for AgentService
Source§impl Default for AgentService
impl Default for AgentService
Source§fn default() -> AgentService
fn default() -> AgentService
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentService
impl<'de> Deserialize<'de> for AgentService
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 AgentService
impl RefUnwindSafe for AgentService
impl Send for AgentService
impl Sync for AgentService
impl Unpin for AgentService
impl UnwindSafe for AgentService
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