pub enum TrainingSource {
Bootstrap,
UserFeedback,
Programmatic,
}
Expand description
Source of training data
Variants§
Bootstrap
Bootstrap data provided with the library
UserFeedback
User-provided feedback
Programmatic
Programmatically added examples
Trait Implementations§
Source§impl Clone for TrainingSource
impl Clone for TrainingSource
Source§fn clone(&self) -> TrainingSource
fn clone(&self) -> TrainingSource
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 Debug for TrainingSource
impl Debug for TrainingSource
Source§impl<'de> Deserialize<'de> for TrainingSource
impl<'de> Deserialize<'de> for TrainingSource
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 TrainingSource
impl RefUnwindSafe for TrainingSource
impl Send for TrainingSource
impl Sync for TrainingSource
impl Unpin for TrainingSource
impl UnwindSafe for TrainingSource
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