pub struct AgentService {
pub id: String,
pub name: String,
pub tags: Vec<String>,
pub meta: BTreeMap<String, String>,
pub port: u16,
pub address: String,
}Fields§
§id: String§name: String§meta: BTreeMap<String, String>§port: u16§address: StringTrait 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<'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
Source§impl Hash for AgentService
impl Hash 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 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