pub enum ScorerOutput {
Ordinal {
levels: Vec<String>,
},
Bounded {
min: Decimal,
max: Decimal,
},
}Expand description
What a score is (3.6.2).
Variants§
Ordinal
Level names, lowest first; the value is the level index.
Bounded
A finite binary64 in [min, max].
Trait Implementations§
Source§impl Clone for ScorerOutput
impl Clone for ScorerOutput
Source§impl Debug for ScorerOutput
impl Debug for ScorerOutput
Source§impl<'de> Deserialize<'de> for ScorerOutput
impl<'de> Deserialize<'de> for ScorerOutput
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 ScorerOutput
Source§impl PartialEq for ScorerOutput
impl PartialEq for ScorerOutput
Source§impl Serialize for ScorerOutput
impl Serialize for ScorerOutput
impl StructuralPartialEq for ScorerOutput
Auto Trait Implementations§
impl Freeze for ScorerOutput
impl RefUnwindSafe for ScorerOutput
impl Send for ScorerOutput
impl Sync for ScorerOutput
impl Unpin for ScorerOutput
impl UnsafeUnpin for ScorerOutput
impl UnwindSafe for ScorerOutput
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