pub struct DelegationRequest { /* private fields */ }Expand description
Immutable-authority request flowing through gateway middleware.
Implementations§
Source§impl DelegationRequest
impl DelegationRequest
Sourcepub const fn descriptor(&self) -> &AgentDescriptor
pub const fn descriptor(&self) -> &AgentDescriptor
Returns the fixed route descriptor.
Sourcepub const fn parent(&self) -> &RunContext
pub const fn parent(&self) -> &RunContext
Returns the parent execution context.
Middleware can inspect this context but cannot replace the authority captured by the gateway.
Sourcepub fn with_input(self, input: impl Into<String>) -> Self
pub fn with_input(self, input: impl Into<String>) -> Self
Replaces model-visible child input while retaining route and authority.
Trait Implementations§
Source§impl Clone for DelegationRequest
impl Clone for DelegationRequest
Source§fn clone(&self) -> DelegationRequest
fn clone(&self) -> DelegationRequest
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for DelegationRequest
impl !UnwindSafe for DelegationRequest
impl Freeze for DelegationRequest
impl Send for DelegationRequest
impl Sync for DelegationRequest
impl Unpin for DelegationRequest
impl UnsafeUnpin for DelegationRequest
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