pub struct StreamingSuccessContext {
pub request: RequestContext,
pub status: StatusCode,
pub headers: HeaderMap,
}Expand description
Context after a successful streaming response (2xx, metadata only).
Fields§
§request: RequestContextOriginal request context.
status: StatusCodeHTTP status.
headers: HeaderMapResponse headers.
Trait Implementations§
Source§impl Clone for StreamingSuccessContext
impl Clone for StreamingSuccessContext
Source§fn clone(&self) -> StreamingSuccessContext
fn clone(&self) -> StreamingSuccessContext
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 StreamingSuccessContext
impl RefUnwindSafe for StreamingSuccessContext
impl Send for StreamingSuccessContext
impl Sync for StreamingSuccessContext
impl Unpin for StreamingSuccessContext
impl UnsafeUnpin for StreamingSuccessContext
impl UnwindSafe for StreamingSuccessContext
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