pub enum LabelProducer {
Human {
description: String,
},
Model(ModelRef),
}Expand description
A label producer. A model under test, or a model of the same family, is never an independent labeler.
Variants§
Trait Implementations§
Source§impl Clone for LabelProducer
impl Clone for LabelProducer
Source§impl Debug for LabelProducer
impl Debug for LabelProducer
Source§impl<'de> Deserialize<'de> for LabelProducer
impl<'de> Deserialize<'de> for LabelProducer
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
impl Eq for LabelProducer
Source§impl PartialEq for LabelProducer
impl PartialEq for LabelProducer
Source§impl Serialize for LabelProducer
impl Serialize for LabelProducer
impl StructuralPartialEq for LabelProducer
Auto Trait Implementations§
impl Freeze for LabelProducer
impl RefUnwindSafe for LabelProducer
impl Send for LabelProducer
impl Sync for LabelProducer
impl Unpin for LabelProducer
impl UnsafeUnpin for LabelProducer
impl UnwindSafe for LabelProducer
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