pub enum PlainBody {
Any,
Types(Vec<String>),
}Expand description
The responses whose body a plugin reads, see
Ctx::keep_response_body_plain.
Variants§
Any
Whatever the response is.
Types(Vec<String>)
Those of these content types: prefixes, in lower case.
Trait Implementations§
impl StructuralPartialEq for PlainBody
Auto Trait Implementations§
impl Freeze for PlainBody
impl RefUnwindSafe for PlainBody
impl Send for PlainBody
impl Sync for PlainBody
impl Unpin for PlainBody
impl UnsafeUnpin for PlainBody
impl UnwindSafe for PlainBody
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