pub struct ResolvedAgent {
pub descriptor: AgentDescriptor,
pub binding: AgentBinding,
}Fields§
§descriptor: AgentDescriptor§binding: AgentBindingImplementations§
Source§impl ResolvedAgent
impl ResolvedAgent
pub fn local(id: impl Into<String>) -> Self
pub fn a2a( id: impl Into<String>, base_url: impl Into<String>, remote_agent_id: impl Into<String>, ) -> Self
pub fn with_name(self, name: impl Into<String>) -> Self
pub fn with_description(self, description: impl Into<String>) -> Self
pub fn kind_tag(&self) -> &'static str
pub fn is_resumable(&self) -> bool
Trait Implementations§
Source§impl Clone for ResolvedAgent
impl Clone for ResolvedAgent
Source§fn clone(&self) -> ResolvedAgent
fn clone(&self) -> ResolvedAgent
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 ResolvedAgent
impl RefUnwindSafe for ResolvedAgent
impl Send for ResolvedAgent
impl Sync for ResolvedAgent
impl Unpin for ResolvedAgent
impl UnwindSafe for ResolvedAgent
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