pub struct ExchangePatch {
pub body: Option<PatchBody>,
pub headers_set: Vec<(String, Value)>,
pub headers_removed: Vec<String>,
pub properties_set: Vec<(String, Value)>,
}Fields§
§body: Option<PatchBody>§headers_set: Vec<(String, Value)>§headers_removed: Vec<String>§properties_set: Vec<(String, Value)>Trait Implementations§
Source§impl Clone for ExchangePatch
impl Clone for ExchangePatch
Source§fn clone(&self) -> ExchangePatch
fn clone(&self) -> ExchangePatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExchangePatch
impl Debug for ExchangePatch
Source§impl Default for ExchangePatch
impl Default for ExchangePatch
Source§fn default() -> ExchangePatch
fn default() -> ExchangePatch
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExchangePatch
impl RefUnwindSafe for ExchangePatch
impl Send for ExchangePatch
impl Sync for ExchangePatch
impl Unpin for ExchangePatch
impl UnsafeUnpin for ExchangePatch
impl UnwindSafe for ExchangePatch
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