pub struct DiffConfig { /* private fields */ }
Implementations§
Source§impl DiffConfig
impl DiffConfig
pub fn new_with_profile( profile: String, req1: RequestContext, req2: RequestContext, res: ResponseContext, ) -> Self
pub async fn try_load(path: impl AsRef<Path>) -> Result<DiffConfig>
pub fn get(&self, profile: &str) -> Result<&DiffContext>
pub async fn diff(&self, profile: &str) -> Result<DiffResult>
Trait Implementations§
Source§impl Clone for DiffConfig
impl Clone for DiffConfig
Source§fn clone(&self) -> DiffConfig
fn clone(&self) -> DiffConfig
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 DiffConfig
impl Debug for DiffConfig
Source§impl<'de> Deserialize<'de> for DiffConfig
impl<'de> Deserialize<'de> for DiffConfig
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 DiffConfig
impl PartialEq for DiffConfig
Source§impl Serialize for DiffConfig
impl Serialize for DiffConfig
impl Eq for DiffConfig
impl StructuralPartialEq for DiffConfig
Auto Trait Implementations§
impl Freeze for DiffConfig
impl RefUnwindSafe for DiffConfig
impl Send for DiffConfig
impl Sync for DiffConfig
impl Unpin for DiffConfig
impl UnwindSafe for DiffConfig
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.