pub enum ClassifierPolicyConfig {
TargetSelector {
selector: String,
},
}Expand description
How a custom classifier turns the judge’s JSON verdict into a target.
Variants§
TargetSelector
Reads the target name straight out of the judge’s verdict.
Trait Implementations§
Source§impl Clone for ClassifierPolicyConfig
impl Clone for ClassifierPolicyConfig
Source§impl Debug for ClassifierPolicyConfig
impl Debug for ClassifierPolicyConfig
Source§impl<'de> Deserialize<'de> for ClassifierPolicyConfig
impl<'de> Deserialize<'de> for ClassifierPolicyConfig
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
Auto Trait Implementations§
impl Forget for ClassifierPolicyConfig
impl Freeze for ClassifierPolicyConfig
impl Move for ClassifierPolicyConfig
impl RefUnwindSafe for ClassifierPolicyConfig
impl Send for ClassifierPolicyConfig
impl Sync for ClassifierPolicyConfig
impl Unpin for ClassifierPolicyConfig
impl UnsafeUnpin for ClassifierPolicyConfig
impl UnwindSafe for ClassifierPolicyConfig
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