pub struct PatchWire {
pub body: Option<BodyWire>,
pub headers_set: Vec<(String, Value)>,
pub headers_removed: Vec<String>,
pub properties_set: Vec<(String, Value)>,
}Fields§
§body: Option<BodyWire>§headers_set: Vec<(String, Value)>§headers_removed: Vec<String>§properties_set: Vec<(String, Value)>Implementations§
Source§impl PatchWire
impl PatchWire
pub fn to_exchange_patch(self) -> ExchangePatch
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PatchWire
impl<'de> Deserialize<'de> for PatchWire
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
impl StructuralPartialEq for PatchWire
Auto Trait Implementations§
impl Freeze for PatchWire
impl RefUnwindSafe for PatchWire
impl Send for PatchWire
impl Sync for PatchWire
impl Unpin for PatchWire
impl UnsafeUnpin for PatchWire
impl UnwindSafe for PatchWire
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