pub enum BodyAction {
Allow,
ModifyBody(String),
}Expand description
Action to take for intercepted response body.
Variants§
Implementations§
Source§impl BodyAction
impl BodyAction
Trait Implementations§
Source§impl Clone for BodyAction
impl Clone for BodyAction
Source§fn clone(&self) -> BodyAction
fn clone(&self) -> BodyAction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BodyAction
impl RefUnwindSafe for BodyAction
impl Send for BodyAction
impl Sync for BodyAction
impl Unpin for BodyAction
impl UnwindSafe for BodyAction
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