pub struct DataSnapshot {
pub step_name: String,
pub shape: Vec<usize>,
pub dtype: String,
pub statistics: DataStatistics,
pub sample_data: Option<Vec<f64>>,
pub timestamp: SystemTime,
}Expand description
Data snapshot at a specific step
Fields§
§step_name: StringStep name
shape: Vec<usize>Data shape
dtype: StringData type information
statistics: DataStatisticsStatistical summary
sample_data: Option<Vec<f64>>Sample data (if enabled)
timestamp: SystemTimeTimestamp
Trait Implementations§
Source§impl Clone for DataSnapshot
impl Clone for DataSnapshot
Source§fn clone(&self) -> DataSnapshot
fn clone(&self) -> DataSnapshot
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 moreAuto Trait Implementations§
impl Freeze for DataSnapshot
impl RefUnwindSafe for DataSnapshot
impl Send for DataSnapshot
impl Sync for DataSnapshot
impl Unpin for DataSnapshot
impl UnwindSafe for DataSnapshot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more