pub enum SemValue {
Screen {
blocked: bool,
categories: Vec<String>,
},
ScreenEmpty,
Label(SelectedLabel),
Distribution(Distribution),
Calibrated(CalibratedProbability),
Ordinal(OrdinalLevel),
Scores(Vec<ModelScore>),
}Expand description
One validated semantic value.
Variants§
Screen
Opaque screening result, never an authored label.
ScreenEmpty
Empty text requires no backend call.
Label(SelectedLabel)
Distribution(Distribution)
Calibrated(CalibratedProbability)
Ordinal(OrdinalLevel)
Scores(Vec<ModelScore>)
Implementations§
Trait Implementations§
impl StructuralPartialEq for SemValue
Auto Trait Implementations§
impl Freeze for SemValue
impl RefUnwindSafe for SemValue
impl Send for SemValue
impl Sync for SemValue
impl Unpin for SemValue
impl UnsafeUnpin for SemValue
impl UnwindSafe for SemValue
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