pub struct HookOutcome {
pub status: u16,
pub kind: HookOutcomeKind,
}Expand description
A body-free result summary passed to on_response hooks.
Fields§
§status: u16§kind: HookOutcomeKindTrait Implementations§
Source§impl Clone for HookOutcome
impl Clone for HookOutcome
Source§fn clone(&self) -> HookOutcome
fn clone(&self) -> HookOutcome
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 moreimpl Copy for HookOutcome
Source§impl Debug for HookOutcome
impl Debug for HookOutcome
impl Eq for HookOutcome
Source§impl From<&ExecutionOutcome> for HookOutcome
impl From<&ExecutionOutcome> for HookOutcome
Source§fn from(outcome: &ExecutionOutcome) -> Self
fn from(outcome: &ExecutionOutcome) -> Self
Converts to this type from the input type.
Source§impl PartialEq for HookOutcome
impl PartialEq for HookOutcome
impl StructuralPartialEq for HookOutcome
Auto Trait Implementations§
impl Freeze for HookOutcome
impl RefUnwindSafe for HookOutcome
impl Send for HookOutcome
impl Sync for HookOutcome
impl Unpin for HookOutcome
impl UnsafeUnpin for HookOutcome
impl UnwindSafe for HookOutcome
Blanket Implementations§
Source§impl<T> BackgroundExt for T
impl<T> BackgroundExt for T
fn background(self, task: BackgroundTask) -> Background<Self>
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