pub struct DiffContext {
pub request1: RequestContext,
pub request2: RequestContext,
pub response: ResponseContext,
}
Fields§
§request1: RequestContext
§request2: RequestContext
§response: ResponseContext
Implementations§
Source§impl DiffContext
impl DiffContext
pub fn new( req1: RequestContext, req2: RequestContext, resp: ResponseContext, ) -> Self
pub async fn diff(&self) -> Result<DiffResult>
Trait Implementations§
Source§impl Clone for DiffContext
impl Clone for DiffContext
Source§fn clone(&self) -> DiffContext
fn clone(&self) -> DiffContext
Returns a duplicate of the value. Read more
1.0.0 · 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 DiffContext
impl Debug for DiffContext
Source§impl<'de> Deserialize<'de> for DiffContext
impl<'de> Deserialize<'de> for DiffContext
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
Source§impl PartialEq for DiffContext
impl PartialEq for DiffContext
Source§impl Serialize for DiffContext
impl Serialize for DiffContext
impl Eq for DiffContext
impl StructuralPartialEq for DiffContext
Auto Trait Implementations§
impl Freeze for DiffContext
impl RefUnwindSafe for DiffContext
impl Send for DiffContext
impl Sync for DiffContext
impl Unpin for DiffContext
impl UnwindSafe for DiffContext
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.