pub struct RemoteAgentDefinition {
pub descriptor: AgentDescriptor,
pub binding: RemoteAgentBinding,
}Fields§
§descriptor: AgentDescriptor§binding: RemoteAgentBindingImplementations§
Source§impl RemoteAgentDefinition
impl RemoteAgentDefinition
pub fn a2a(descriptor: AgentDescriptor, binding: A2aAgentBinding) -> Self
pub fn id(&self) -> &str
pub fn descriptor(&self) -> AgentDescriptor
pub fn into_resolved_agent(self) -> ResolvedAgent
Trait Implementations§
Source§impl Clone for RemoteAgentDefinition
impl Clone for RemoteAgentDefinition
Source§fn clone(&self) -> RemoteAgentDefinition
fn clone(&self) -> RemoteAgentDefinition
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 moreAuto Trait Implementations§
impl Freeze for RemoteAgentDefinition
impl RefUnwindSafe for RemoteAgentDefinition
impl Send for RemoteAgentDefinition
impl Sync for RemoteAgentDefinition
impl Unpin for RemoteAgentDefinition
impl UnwindSafe for RemoteAgentDefinition
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