pub struct InvocationContext {
pub scope: Scope,
pub actor: Actor,
pub surface_id: ConversationSurface,
pub thread_id: ThreadId,
pub run_id: RunId,
pub operation_id: OperationId,
pub deadline_unix_ms: Option<u64>,
pub traceparent: Option<String>,
}Expand description
Context that follows one Agent invocation across all ports.
Fields§
§scope: ScopeAuthorization and persistence scope.
actor: ActorAuthenticated actor; never accepted from model-generated arguments.
surface_id: ConversationSurfaceTrusted, canonical conversation space. Runtime uses it only as thread identity.
thread_id: ThreadIdDurable conversation thread.
run_id: RunIdCurrent run identifier.
operation_id: OperationIdIdempotency identifier for the initiating operation.
deadline_unix_ms: Option<u64>Optional absolute Unix deadline in milliseconds.
traceparent: Option<String>Optional W3C traceparent propagated by the deployment.
Trait Implementations§
Source§impl Clone for InvocationContext
impl Clone for InvocationContext
Source§fn clone(&self) -> InvocationContext
fn clone(&self) -> InvocationContext
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 InvocationContext
impl Debug for InvocationContext
Source§impl<'de> Deserialize<'de> for InvocationContext
impl<'de> Deserialize<'de> for InvocationContext
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for InvocationContext
Source§impl PartialEq for InvocationContext
impl PartialEq for InvocationContext
Source§impl Serialize for InvocationContext
impl Serialize for InvocationContext
impl StructuralPartialEq for InvocationContext
Auto Trait Implementations§
impl Freeze for InvocationContext
impl RefUnwindSafe for InvocationContext
impl Send for InvocationContext
impl Sync for InvocationContext
impl Unpin for InvocationContext
impl UnsafeUnpin for InvocationContext
impl UnwindSafe for InvocationContext
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