pub struct HookResponse {
pub status: u16,
pub headers: HeaderMap,
pub body: String,
}Expand description
A response as an interceptor sees it, before Alien reads it.
Fields§
§status: u16§headers: HeaderMap§body: StringTrait Implementations§
Source§impl Clone for HookResponse
impl Clone for HookResponse
Auto Trait Implementations§
impl Forget for HookResponse
impl Freeze for HookResponse
impl Move for HookResponse
impl RefUnwindSafe for HookResponse
impl Send for HookResponse
impl Sync for HookResponse
impl Unpin for HookResponse
impl UnsafeUnpin for HookResponse
impl UnwindSafe for HookResponse
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