pub struct AgentServiceEndpoint {
pub name: String,
pub endpoint: String,
pub version: Option<String>,
pub skills: Option<Vec<String>>,
pub domains: Option<Vec<String>>,
}Expand description
Service endpoint advertised by an agent registration file.
Fields§
§name: String§endpoint: String§version: Option<String>§skills: Option<Vec<String>>§domains: Option<Vec<String>>Trait Implementations§
Source§impl Clone for AgentServiceEndpoint
impl Clone for AgentServiceEndpoint
Source§fn clone(&self) -> AgentServiceEndpoint
fn clone(&self) -> AgentServiceEndpoint
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 AgentServiceEndpoint
impl Debug for AgentServiceEndpoint
Source§impl<'de> Deserialize<'de> for AgentServiceEndpoint
impl<'de> Deserialize<'de> for AgentServiceEndpoint
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AgentServiceEndpoint, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AgentServiceEndpoint, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for AgentServiceEndpoint
impl Serialize for AgentServiceEndpoint
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for AgentServiceEndpoint
impl RefUnwindSafe for AgentServiceEndpoint
impl Send for AgentServiceEndpoint
impl Sync for AgentServiceEndpoint
impl Unpin for AgentServiceEndpoint
impl UnsafeUnpin for AgentServiceEndpoint
impl UnwindSafe for AgentServiceEndpoint
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