pub struct StreamingResponseMeta {
pub status: StatusCode,
pub headers: HeaderMap,
}Expand description
Metadata returned from streaming response hooks.
Fields§
§status: StatusCodeHTTP status (usually unchanged).
headers: HeaderMapResponse headers after hook mutations.
Trait Implementations§
Source§impl Clone for StreamingResponseMeta
impl Clone for StreamingResponseMeta
Source§fn clone(&self) -> StreamingResponseMeta
fn clone(&self) -> StreamingResponseMeta
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 StreamingResponseMeta
impl RefUnwindSafe for StreamingResponseMeta
impl Send for StreamingResponseMeta
impl Sync for StreamingResponseMeta
impl Unpin for StreamingResponseMeta
impl UnsafeUnpin for StreamingResponseMeta
impl UnwindSafe for StreamingResponseMeta
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