pub struct AgentService {
pub ID: String,
pub Service: String,
pub Tags: Option<Vec<String>>,
pub Port: u16,
pub Address: String,
pub EnableTagOverride: bool,
pub CreateIndex: u64,
pub ModifyIndex: u64,
}Fields§
§ID: String§Service: String§Tags: Option<Vec<String>>§Port: u16§Address: String§EnableTagOverride: bool§CreateIndex: u64§ModifyIndex: u64Trait 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 (const: unstable) · 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 AgentServicewhere
AgentService: Default,
impl<'de> Deserialize<'de> for AgentServicewhere
AgentService: Default,
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 Eq for AgentService
Source§impl PartialEq for AgentService
impl PartialEq for AgentService
Source§impl Serialize for AgentService
impl Serialize for AgentService
impl StructuralPartialEq for AgentService
Auto Trait Implementations§
impl Freeze for AgentService
impl RefUnwindSafe for AgentService
impl Send for AgentService
impl Sync for AgentService
impl Unpin for AgentService
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.