pub struct JudgeClassificationOutputOption {
pub value: String,
pub description: String,
}Fields§
§value: String§description: StringImplementations§
Source§impl JudgeClassificationOutputOption
impl JudgeClassificationOutputOption
pub fn new( value: String, description: String, ) -> JudgeClassificationOutputOption
Trait Implementations§
Source§impl Clone for JudgeClassificationOutputOption
impl Clone for JudgeClassificationOutputOption
Source§fn clone(&self) -> JudgeClassificationOutputOption
fn clone(&self) -> JudgeClassificationOutputOption
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for JudgeClassificationOutputOption
impl Default for JudgeClassificationOutputOption
Source§fn default() -> JudgeClassificationOutputOption
fn default() -> JudgeClassificationOutputOption
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JudgeClassificationOutputOption
impl<'de> Deserialize<'de> for JudgeClassificationOutputOption
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 JudgeClassificationOutputOption
impl PartialEq for JudgeClassificationOutputOption
Source§fn eq(&self, other: &JudgeClassificationOutputOption) -> bool
fn eq(&self, other: &JudgeClassificationOutputOption) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for JudgeClassificationOutputOption
Auto Trait Implementations§
impl Freeze for JudgeClassificationOutputOption
impl RefUnwindSafe for JudgeClassificationOutputOption
impl Send for JudgeClassificationOutputOption
impl Sync for JudgeClassificationOutputOption
impl Unpin for JudgeClassificationOutputOption
impl UnsafeUnpin for JudgeClassificationOutputOption
impl UnwindSafe for JudgeClassificationOutputOption
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