pub struct ResponseHeaders {
pub status: u16,
pub headers: Vec<(String, String)>,
}Expand description
Response headers that middleware plugins can mutate in on_response.
Fields§
§status: u16§headers: Vec<(String, String)>Trait Implementations§
Auto Trait Implementations§
impl Freeze for ResponseHeaders
impl RefUnwindSafe for ResponseHeaders
impl Send for ResponseHeaders
impl Sync for ResponseHeaders
impl Unpin for ResponseHeaders
impl UnsafeUnpin for ResponseHeaders
impl UnwindSafe for ResponseHeaders
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