#[non_exhaustive]pub struct ExactMatchSpec { /* private fields */ }Available on crate feature
evaluation-service only.Expand description
Spec for exact match metric - returns 1 if prediction and reference exactly matches, otherwise 0.
Implementations§
Trait Implementations§
Source§impl Clone for ExactMatchSpec
impl Clone for ExactMatchSpec
Source§fn clone(&self) -> ExactMatchSpec
fn clone(&self) -> ExactMatchSpec
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 ExactMatchSpec
impl Debug for ExactMatchSpec
Source§impl Default for ExactMatchSpec
impl Default for ExactMatchSpec
Source§fn default() -> ExactMatchSpec
fn default() -> ExactMatchSpec
Returns the “default value” for a type. Read more
Source§impl Message for ExactMatchSpec
impl Message for ExactMatchSpec
Source§impl PartialEq for ExactMatchSpec
impl PartialEq for ExactMatchSpec
impl StructuralPartialEq for ExactMatchSpec
Auto Trait Implementations§
impl Freeze for ExactMatchSpec
impl RefUnwindSafe for ExactMatchSpec
impl Send for ExactMatchSpec
impl Sync for ExactMatchSpec
impl Unpin for ExactMatchSpec
impl UnwindSafe for ExactMatchSpec
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