pub struct SubRequest {
pub method: Method,
pub uri: Uri,
pub headers: HeaderMap,
pub body: Bytes,
}Expand description
An outbound HTTP request for a sub-request exchange.
Fields§
§method: MethodHTTP method.
uri: UriRequest URI (path + query).
headers: HeaderMapRequest headers.
Reserved headers (x-praxis-*, x-ext-*) are stripped by the
executor before dispatch. Use FrameworkHeaders on
SubRequestClient::execute to inject metadata that must
survive sanitisation.
body: BytesRequest body.
Trait Implementations§
Source§impl Clone for SubRequest
impl Clone for SubRequest
Source§fn clone(&self) -> SubRequest
fn clone(&self) -> SubRequest
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 !Freeze for SubRequest
impl RefUnwindSafe for SubRequest
impl Send for SubRequest
impl Sync for SubRequest
impl Unpin for SubRequest
impl UnsafeUnpin for SubRequest
impl UnwindSafe for SubRequest
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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