Struct PopulationReport
#[non_exhaustive]pub struct PopulationReport {
pub trial: TrialMeta,
pub step: u64,
pub values: Vec<f64>,
}Expand description
One member’s report at a population boundary.
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.trial: TrialMetaDeterministic identity and scheduler seed for the reporting trial.
step: u64Resource step shared by every member in a batch.
values: Vec<f64>The objective vector reported at step.
Implementations§
§impl PopulationReport
impl PopulationReport
Trait Implementations§
§impl Clone for PopulationReport
impl Clone for PopulationReport
§fn clone(&self) -> PopulationReport
fn clone(&self) -> PopulationReport
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 PopulationReport
impl Debug for PopulationReport
§impl<'de> Deserialize<'de> for PopulationReport
impl<'de> Deserialize<'de> for PopulationReport
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PopulationReport, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PopulationReport, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq for PopulationReport
impl PartialEq for PopulationReport
§impl Serialize for PopulationReport
impl Serialize for PopulationReport
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for PopulationReport
Auto Trait Implementations§
impl Freeze for PopulationReport
impl RefUnwindSafe for PopulationReport
impl Send for PopulationReport
impl Sync for PopulationReport
impl Unpin for PopulationReport
impl UnsafeUnpin for PopulationReport
impl UnwindSafe for PopulationReport
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