pub struct AgentHandle(pub String);Expand description
Opaque agent handle.
The platform assigns the user-facing agt_ prefixed ID; the runtime uses
this internal handle for lookups. The inner string is an implementation detail.
§Example
use adk_managed::runtime::AgentHandle;
let handle = AgentHandle("agent_abc123".to_string());
assert_eq!(handle.0, "agent_abc123");Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for AgentHandle
impl Clone for AgentHandle
Source§fn clone(&self) -> AgentHandle
fn clone(&self) -> AgentHandle
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 AgentHandle
impl Debug for AgentHandle
impl Eq for AgentHandle
Source§impl Hash for AgentHandle
impl Hash for AgentHandle
Source§impl PartialEq for AgentHandle
impl PartialEq for AgentHandle
Source§fn eq(&self, other: &AgentHandle) -> bool
fn eq(&self, other: &AgentHandle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AgentHandle
Auto Trait Implementations§
impl Freeze for AgentHandle
impl RefUnwindSafe for AgentHandle
impl Send for AgentHandle
impl Sync for AgentHandle
impl Unpin for AgentHandle
impl UnsafeUnpin for AgentHandle
impl UnwindSafe for AgentHandle
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