pub struct Gate {
pub name: String,
pub metric: String,
pub direction: Direction,
pub tolerance: Decimal,
pub min_comparable_coverage: Decimal,
pub min_labeled_coverage: Decimal,
}Fields§
§name: String§metric: String§direction: Direction§tolerance: DecimalAbsolute, non-negative.
min_comparable_coverage: DecimalIn [0, 1]: comparable cases / all cases, for both cohorts.
min_labeled_coverage: DecimalIn [0, 1]: labeled proposals / proposals, for both cohorts.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Gate
impl<'de> Deserialize<'de> for Gate
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
impl Eq for Gate
impl StructuralPartialEq for Gate
Auto Trait Implementations§
impl Freeze for Gate
impl RefUnwindSafe for Gate
impl Send for Gate
impl Sync for Gate
impl Unpin for Gate
impl UnsafeUnpin for Gate
impl UnwindSafe for Gate
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