pub enum CreateScoreSource {
Api,
Annotation,
}Expand description
CreateScoreSource : Source values accepted when creating a score via the public REST API. EVAL is reserved for internal evaluator outputs and is intentionally not exposed here — use commons.ScoreSource when reading scores. Source values accepted when creating a score via the public REST API. EVAL is reserved for internal evaluator outputs and is intentionally not exposed here — use commons.ScoreSource when reading scores.
Variants§
Trait Implementations§
Source§impl Clone for CreateScoreSource
impl Clone for CreateScoreSource
impl Copy for CreateScoreSource
Source§impl Debug for CreateScoreSource
impl Debug for CreateScoreSource
Source§impl<'de> Deserialize<'de> for CreateScoreSource
impl<'de> Deserialize<'de> for CreateScoreSource
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 CreateScoreSource
impl Display for CreateScoreSource
impl Eq for CreateScoreSource
Source§impl FromStr for CreateScoreSource
impl FromStr for CreateScoreSource
Source§impl Hash for CreateScoreSource
impl Hash for CreateScoreSource
Source§impl Ord for CreateScoreSource
impl Ord for CreateScoreSource
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CreateScoreSource
impl PartialEq for CreateScoreSource
Source§impl PartialOrd for CreateScoreSource
impl PartialOrd for CreateScoreSource
Source§impl Serialize for CreateScoreSource
impl Serialize for CreateScoreSource
impl StructuralPartialEq for CreateScoreSource
Source§impl TryFrom<&String> for CreateScoreSource
impl TryFrom<&String> for CreateScoreSource
Source§type Error = ParseEnumError
type Error = ParseEnumError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for CreateScoreSource
impl TryFrom<&str> for CreateScoreSource
Source§type Error = ParseEnumError
type Error = ParseEnumError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for CreateScoreSource
impl TryFrom<String> for CreateScoreSource
Source§type Error = ParseEnumError
type Error = ParseEnumError
The type returned in the event of a conversion error.
Source§impl Validate for CreateScoreSource
impl Validate for CreateScoreSource
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 CreateScoreSource
impl Freeze for CreateScoreSource
impl Move for CreateScoreSource
impl RefUnwindSafe for CreateScoreSource
impl Send for CreateScoreSource
impl Sync for CreateScoreSource
impl Unpin for CreateScoreSource
impl UnsafeUnpin for CreateScoreSource
impl UnwindSafe for CreateScoreSource
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