pub struct Intervention { /* private fields */ }Expand description
Actix-Web compatible wrapper on
Intervention
Implementations§
Source§impl Intervention
impl Intervention
Sourcepub fn status(&self) -> StatusCode
pub fn status(&self) -> StatusCode
Returns the status code of the intervention.
Sourcepub fn response(&self) -> &HttpResponse
pub fn response(&self) -> &HttpResponse
Returns the repacement HttpResponse of the intervention
Trait Implementations§
Source§impl Debug for Intervention
impl Debug for Intervention
Source§impl Into<HttpResponse> for Intervention
impl Into<HttpResponse> for Intervention
Source§fn into(self) -> HttpResponse
fn into(self) -> HttpResponse
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl !Freeze for Intervention
impl !RefUnwindSafe for Intervention
impl !Send for Intervention
impl !Sync for Intervention
impl Unpin for Intervention
impl !UnwindSafe for Intervention
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