pub enum ResponseOpConfig {
SetHeader {
name: String,
value: String,
},
RemoveHeader {
name: String,
},
Mutate {
mutate: MutateOp,
},
}Expand description
Serialisable response op — the config mirror of ResponseOp.
Variants§
Trait Implementations§
Source§impl Clone for ResponseOpConfig
impl Clone for ResponseOpConfig
Source§impl Debug for ResponseOpConfig
impl Debug for ResponseOpConfig
Source§impl<'de> Deserialize<'de> for ResponseOpConfig
impl<'de> Deserialize<'de> for ResponseOpConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ResponseOpConfig
impl RefUnwindSafe for ResponseOpConfig
impl Send for ResponseOpConfig
impl Sync for ResponseOpConfig
impl Unpin for ResponseOpConfig
impl UnsafeUnpin for ResponseOpConfig
impl UnwindSafe for ResponseOpConfig
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