pub struct ContextualCell {
pub arm: String,
pub context_bin: u64,
}Expand description
An (arm, context-bin) pair identifying a specific covariate cell for triage.
Fields§
§arm: StringThe arm (provider/backend).
context_bin: u64The context bin ID (from context_bin).
Implementations§
Trait Implementations§
Source§impl Clone for ContextualCell
impl Clone for ContextualCell
Source§fn clone(&self) -> ContextualCell
fn clone(&self) -> ContextualCell
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 ContextualCell
impl Debug for ContextualCell
Source§impl<'de> Deserialize<'de> for ContextualCell
impl<'de> Deserialize<'de> for ContextualCell
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 Hash for ContextualCell
impl Hash for ContextualCell
Source§impl Ord for ContextualCell
impl Ord for ContextualCell
Source§fn cmp(&self, other: &ContextualCell) -> Ordering
fn cmp(&self, other: &ContextualCell) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ContextualCell
impl PartialEq for ContextualCell
Source§impl PartialOrd for ContextualCell
impl PartialOrd for ContextualCell
Source§impl Serialize for ContextualCell
impl Serialize for ContextualCell
impl Eq for ContextualCell
impl StructuralPartialEq for ContextualCell
Auto Trait Implementations§
impl Freeze for ContextualCell
impl RefUnwindSafe for ContextualCell
impl Send for ContextualCell
impl Sync for ContextualCell
impl Unpin for ContextualCell
impl UnsafeUnpin for ContextualCell
impl UnwindSafe for ContextualCell
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