pub struct StreamingResponseContext {
pub request: RequestContext,
pub status: StatusCode,
pub headers: HeaderMap,
}Expand description
Context after a streaming response is received (headers only; body not consumed).
Fields§
§request: RequestContextOriginal request context.
status: StatusCodeHTTP status.
headers: HeaderMapResponse headers (hooks may mutate).
Trait Implementations§
Source§impl Clone for StreamingResponseContext
impl Clone for StreamingResponseContext
Source§fn clone(&self) -> StreamingResponseContext
fn clone(&self) -> StreamingResponseContext
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 StreamingResponseContext
impl RefUnwindSafe for StreamingResponseContext
impl Send for StreamingResponseContext
impl Sync for StreamingResponseContext
impl Unpin for StreamingResponseContext
impl UnsafeUnpin for StreamingResponseContext
impl UnwindSafe for StreamingResponseContext
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