pub enum CreateScoreValue {
DoubleNumber(f64),
String(String),
}Expand description
CreateScoreValue : The value of the score. Must be passed as string for categorical and text scores, and numeric for boolean and numeric scores
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for CreateScoreValue
impl Clone for CreateScoreValue
Source§impl Debug for CreateScoreValue
impl Debug for CreateScoreValue
Source§impl<'de> Deserialize<'de> for CreateScoreValue
impl<'de> Deserialize<'de> for CreateScoreValue
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 Display for CreateScoreValue
impl Display for CreateScoreValue
Source§impl From<&str> for CreateScoreValue
impl From<&str> for CreateScoreValue
Source§impl From<String> for CreateScoreValue
impl From<String> for CreateScoreValue
Source§impl PartialEq for CreateScoreValue
impl PartialEq for CreateScoreValue
Source§impl Serialize for CreateScoreValue
impl Serialize for CreateScoreValue
impl StructuralPartialEq for CreateScoreValue
Source§impl Validate for CreateScoreValue
impl Validate for CreateScoreValue
Source§fn validate_into(&self, _path: &Path<'_>, _errors: &mut Vec<ValidationError>)
fn validate_into(&self, _path: &Path<'_>, _errors: &mut Vec<ValidationError>)
Pushes every value that breaks a keyword onto
errors, with its path below path, and nothing when the value
is valid. validate() calls it with Path::root; a model calls it on the models it holds with their path.Auto Trait Implementations§
impl Forget for CreateScoreValue
impl Freeze for CreateScoreValue
impl Move for CreateScoreValue
impl RefUnwindSafe for CreateScoreValue
impl Send for CreateScoreValue
impl Sync for CreateScoreValue
impl Unpin for CreateScoreValue
impl UnsafeUnpin for CreateScoreValue
impl UnwindSafe for CreateScoreValue
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