pub struct ExecutorContext {
pub user_id: String,
pub session_id: String,
pub agent_name: String,
pub readonly_state: Value,
pub events: Vec<Value>,
pub user_content: Content,
pub request_context: Value,
}Expand description
The A2A Agent Executor context.
Fields§
§user_id: String§session_id: String§agent_name: String§readonly_state: Value§events: Vec<Value>§user_content: Content§request_context: ValueTrait Implementations§
Source§impl Clone for ExecutorContext
impl Clone for ExecutorContext
Source§fn clone(&self) -> ExecutorContext
fn clone(&self) -> ExecutorContext
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 ExecutorContext
impl RefUnwindSafe for ExecutorContext
impl Send for ExecutorContext
impl Sync for ExecutorContext
impl Unpin for ExecutorContext
impl UnwindSafe for ExecutorContext
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