Struct EstimateRecord
#[non_exhaustive]pub struct EstimateRecord {
pub source: EstimateSource,
pub replicates: Vec<ReplicateResult>,
}Expand description
One estimand’s stored replicates for one trial.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.source: EstimateSourceThe checkpoint or recipe the replicates evaluated.
replicates: Vec<ReplicateResult>One replicate per test seed, in index order.
Implementations§
§impl EstimateRecord
impl EstimateRecord
pub const fn new(
source: EstimateSource,
replicates: Vec<ReplicateResult>,
) -> Self
pub const fn new( source: EstimateSource, replicates: Vec<ReplicateResult>, ) -> Self
A record of replicates evaluated against source.
Trait Implementations§
§impl Clone for EstimateRecord
impl Clone for EstimateRecord
§fn clone(&self) -> EstimateRecord
fn clone(&self) -> EstimateRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for EstimateRecord
impl Debug for EstimateRecord
§impl<'de> Deserialize<'de> for EstimateRecord
impl<'de> Deserialize<'de> for EstimateRecord
§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 PartialEq for EstimateRecord
impl PartialEq for EstimateRecord
§impl Serialize for EstimateRecord
impl Serialize for EstimateRecord
impl StructuralPartialEq for EstimateRecord
Auto Trait Implementations§
impl Freeze for EstimateRecord
impl RefUnwindSafe for EstimateRecord
impl Send for EstimateRecord
impl Sync for EstimateRecord
impl Unpin for EstimateRecord
impl UnsafeUnpin for EstimateRecord
impl UnwindSafe for EstimateRecord
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