pub struct GateScoreFlag {
pub gate: String,
pub kind: GateScoreFlagKind,
pub distribution: ScoreDistribution,
}Expand description
One flag against one gate: the gate identity, the smell kind, and the distribution summary that triggered it (the ticket’s contract — a flag names the gate and carries its evidence).
Fields§
§gate: String§kind: GateScoreFlagKind§distribution: ScoreDistributionTrait Implementations§
Source§impl Clone for GateScoreFlag
impl Clone for GateScoreFlag
Source§fn clone(&self) -> GateScoreFlag
fn clone(&self) -> GateScoreFlag
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 GateScoreFlag
impl Debug for GateScoreFlag
Source§impl<'de> Deserialize<'de> for GateScoreFlag
impl<'de> Deserialize<'de> for GateScoreFlag
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 GateScoreFlag
impl PartialEq for GateScoreFlag
Source§impl Serialize for GateScoreFlag
impl Serialize for GateScoreFlag
impl StructuralPartialEq for GateScoreFlag
Auto Trait Implementations§
impl Freeze for GateScoreFlag
impl RefUnwindSafe for GateScoreFlag
impl Send for GateScoreFlag
impl Sync for GateScoreFlag
impl Unpin for GateScoreFlag
impl UnsafeUnpin for GateScoreFlag
impl UnwindSafe for GateScoreFlag
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