pub struct BodyDiff {
pub primary_len: usize,
pub shadow_len: usize,
pub prefix_equal_bytes: usize,
}Expand description
Differences between two response bodies.
Fields§
§primary_len: usizeByte length of the primary body.
shadow_len: usizeByte length of the shadow body.
prefix_equal_bytes: usizeNumber of leading bytes that match exactly.
Trait Implementations§
impl Eq for BodyDiff
impl StructuralPartialEq for BodyDiff
Auto Trait Implementations§
impl Freeze for BodyDiff
impl RefUnwindSafe for BodyDiff
impl Send for BodyDiff
impl Sync for BodyDiff
impl Unpin for BodyDiff
impl UnsafeUnpin for BodyDiff
impl UnwindSafe for BodyDiff
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