pub enum TrainingValue {
Empty,
Boolean(bool),
Integer(i64),
Float(f64),
String(String),
}Expand description
Typed value carried by a command or exposed parameter.
Variants§
Empty
No payload.
Boolean(bool)
Boolean payload.
Integer(i64)
Signed integer payload.
Float(f64)
Floating-point payload.
String(String)
UTF-8 string payload.
Implementations§
Source§impl TrainingValue
impl TrainingValue
Trait Implementations§
Source§impl Clone for TrainingValue
impl Clone for TrainingValue
Source§impl Debug for TrainingValue
impl Debug for TrainingValue
Source§impl Default for TrainingValue
impl Default for TrainingValue
Source§impl PartialEq for TrainingValue
impl PartialEq for TrainingValue
impl StructuralPartialEq for TrainingValue
Auto Trait Implementations§
impl Forget for TrainingValue
impl Freeze for TrainingValue
impl Move for TrainingValue
impl RefUnwindSafe for TrainingValue
impl Send for TrainingValuewhere
RawVecInner: Send,
impl Sync for TrainingValuewhere
RawVecInner: Sync,
impl Unpin for TrainingValue
impl UnsafeUnpin for TrainingValue
impl UnwindSafe for TrainingValuewhere
RawVecInner: UnwindSafe,
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