pub struct AgentRequestContext {
pub request: RequestContext,
pub runtime_identity: RuntimeIdentity,
pub policy_id: String,
}Expand description
Unified API context plus agent protocol identity and policy provenance.
Fields§
§request: RequestContext§runtime_identity: RuntimeIdentity§policy_id: StringTrait Implementations§
Source§impl Clone for AgentRequestContext
impl Clone for AgentRequestContext
Source§fn clone(&self) -> AgentRequestContext
fn clone(&self) -> AgentRequestContext
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 AgentRequestContext
impl Debug for AgentRequestContext
Source§impl<'de> Deserialize<'de> for AgentRequestContext
impl<'de> Deserialize<'de> for AgentRequestContext
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
Source§impl PartialEq for AgentRequestContext
impl PartialEq for AgentRequestContext
Source§fn eq(&self, other: &AgentRequestContext) -> bool
fn eq(&self, other: &AgentRequestContext) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AgentRequestContext
impl Serialize for AgentRequestContext
impl Eq for AgentRequestContext
impl StructuralPartialEq for AgentRequestContext
Auto Trait Implementations§
impl Freeze for AgentRequestContext
impl RefUnwindSafe for AgentRequestContext
impl Send for AgentRequestContext
impl Sync for AgentRequestContext
impl Unpin for AgentRequestContext
impl UnsafeUnpin for AgentRequestContext
impl UnwindSafe for AgentRequestContext
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