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§fn clone(&self) -> ClassifierPolicyConfig
fn clone(&self) -> ClassifierPolicyConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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 Freeze 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