Enum border_core::record::RecordValue
source · pub enum RecordValue {
Scalar(f32),
DateTime(DateTime<Local>),
Array1(Vec<f32>),
Array2(Vec<f32>, [usize; 2]),
Array3(Vec<f32>, [usize; 3]),
String(String),
}Expand description
Represents possible types of values in a Record.
Variants§
Scalar(f32)
Represents a scalar, e.g., optimization steps and loss value.
DateTime(DateTime<Local>)
Represents a datetime.
Array1(Vec<f32>)
A 1-dimensional array
Array2(Vec<f32>, [usize; 2])
A 2-dimensional array
Array3(Vec<f32>, [usize; 3])
A 3-dimensional array
String(String)
String
Trait Implementations§
source§impl Clone for RecordValue
impl Clone for RecordValue
source§fn clone(&self) -> RecordValue
fn clone(&self) -> RecordValue
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for RecordValue
impl Send for RecordValue
impl Sync for RecordValue
impl Unpin for RecordValue
impl UnwindSafe for RecordValue
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