pub struct HeaderDiff {
pub added: Vec<String>,
pub removed: Vec<String>,
pub changed: Vec<String>,
}Expand description
Differences between two response header maps.
Fields§
§added: Vec<String>Headers present in the shadow but not the primary.
removed: Vec<String>Headers present in the primary but not the shadow.
changed: Vec<String>Headers present in both but with different values.
Trait Implementations§
Source§impl Clone for HeaderDiff
impl Clone for HeaderDiff
Source§fn clone(&self) -> HeaderDiff
fn clone(&self) -> HeaderDiff
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 HeaderDiff
impl Debug for HeaderDiff
Source§impl PartialEq for HeaderDiff
impl PartialEq for HeaderDiff
Source§fn eq(&self, other: &HeaderDiff) -> bool
fn eq(&self, other: &HeaderDiff) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for HeaderDiff
impl StructuralPartialEq for HeaderDiff
Auto Trait Implementations§
impl Freeze for HeaderDiff
impl RefUnwindSafe for HeaderDiff
impl Send for HeaderDiff
impl Sync for HeaderDiff
impl Unpin for HeaderDiff
impl UnsafeUnpin for HeaderDiff
impl UnwindSafe for HeaderDiff
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