pub struct CallIdentity { /* private fields */ }Expand description
What identifies one tool call: its id and the agent that made it.
Implementations§
Source§impl CallIdentity
impl CallIdentity
Sourcepub const fn new(call: ToolCallId, agent: AgentIdentity) -> Self
pub const fn new(call: ToolCallId, agent: AgentIdentity) -> Self
The identity of call call made by agent.
Sourcepub const fn call(&self) -> &ToolCallId
pub const fn call(&self) -> &ToolCallId
The call’s id.
Sourcepub const fn agent(&self) -> &AgentIdentity
pub const fn agent(&self) -> &AgentIdentity
The agent that made the call.
Trait Implementations§
Source§impl Clone for CallIdentity
impl Clone for CallIdentity
Source§impl Debug for CallIdentity
impl Debug for CallIdentity
impl Eq for CallIdentity
Source§impl Hash for CallIdentity
impl Hash for CallIdentity
Source§impl PartialEq for CallIdentity
impl PartialEq for CallIdentity
impl StructuralPartialEq for CallIdentity
Auto Trait Implementations§
impl Freeze for CallIdentity
impl RefUnwindSafe for CallIdentity
impl Send for CallIdentity
impl Sync for CallIdentity
impl Unpin for CallIdentity
impl UnsafeUnpin for CallIdentity
impl UnwindSafe for CallIdentity
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