pub struct HttpHookResult {
pub ok: bool,
pub status_code: Option<u16>,
pub body: String,
pub error: Option<String>,
pub aborted: bool,
}Expand description
Result of an HTTP hook execution
Fields§
§ok: bool§status_code: Option<u16>§body: String§error: Option<String>§aborted: boolAuto Trait Implementations§
impl Freeze for HttpHookResult
impl RefUnwindSafe for HttpHookResult
impl Send for HttpHookResult
impl Sync for HttpHookResult
impl Unpin for HttpHookResult
impl UnsafeUnpin for HttpHookResult
impl UnwindSafe for HttpHookResult
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