pub struct ModelDriftPair {
pub request_model: Option<String>,
pub response_model: Option<String>,
pub count: usize,
pub differs: bool,
}Expand description
A (request_model → response_model) pair that providers actually served.
differs == true means the provider silently rerouted to a different model snapshot.
Fields§
§request_model: Option<String>§response_model: Option<String>§count: usize§differs: boolTrue when both fields are non-null and differ from each other.
Trait Implementations§
Source§impl Clone for ModelDriftPair
impl Clone for ModelDriftPair
Source§fn clone(&self) -> ModelDriftPair
fn clone(&self) -> ModelDriftPair
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 ModelDriftPair
impl Debug for ModelDriftPair
Source§impl<'de> Deserialize<'de> for ModelDriftPair
impl<'de> Deserialize<'de> for ModelDriftPair
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
Auto Trait Implementations§
impl Freeze for ModelDriftPair
impl RefUnwindSafe for ModelDriftPair
impl Send for ModelDriftPair
impl Sync for ModelDriftPair
impl Unpin for ModelDriftPair
impl UnsafeUnpin for ModelDriftPair
impl UnwindSafe for ModelDriftPair
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