pub struct A2aMemoryCard { /* private fields */ }Expand description
Exposes memory operations as A2A agent card endpoints.
Supported actions:
- “store” params: { scope, key, value (base64), source_agent }
- “query” params: { key }
Implementations§
Source§impl A2aMemoryCard
impl A2aMemoryCard
pub fn new(store: InMemoryStore) -> Self
pub fn handle_request(&self, action: &str, params: Value) -> Value
Auto Trait Implementations§
impl Freeze for A2aMemoryCard
impl RefUnwindSafe for A2aMemoryCard
impl Send for A2aMemoryCard
impl Sync for A2aMemoryCard
impl Unpin for A2aMemoryCard
impl UnsafeUnpin for A2aMemoryCard
impl UnwindSafe for A2aMemoryCard
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