pub struct TrialMetadata {
pub enumeration_index: Option<u32>,
pub group: Option<String>,
pub generation_method: Option<String>,
pub priority: Option<i32>,
}Expand description
Authoring/enumeration hints attached to a trial.
Every field is advisory; the planner treats an absent value the same as one that was never set.
Fields§
§enumeration_index: Option<u32>Position in the producing TrialSet, when that position is
meaningful for reporting (not for scheduling).
group: Option<String>Free-form group label (for related-trial clustering).
generation_method: Option<String>Human-readable description of how the trial was generated.
priority: Option<i32>Scheduler-hint priority; higher = earlier when otherwise equal.
Implementations§
Source§impl TrialMetadata
impl TrialMetadata
Sourcepub fn builder() -> TrialMetadataBuilder
pub fn builder() -> TrialMetadataBuilder
Create an instance of TrialMetadata using the builder syntax
Trait Implementations§
Source§impl Clone for TrialMetadata
impl Clone for TrialMetadata
Source§fn clone(&self) -> TrialMetadata
fn clone(&self) -> TrialMetadata
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 moreSource§impl Debug for TrialMetadata
impl Debug for TrialMetadata
Source§impl<'de> Deserialize<'de> for TrialMetadata
impl<'de> Deserialize<'de> for TrialMetadata
Source§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
Source§impl PartialEq for TrialMetadata
impl PartialEq for TrialMetadata
Source§impl Serialize for TrialMetadata
impl Serialize for TrialMetadata
impl Eq for TrialMetadata
impl StructuralPartialEq for TrialMetadata
Auto Trait Implementations§
impl Freeze for TrialMetadata
impl RefUnwindSafe for TrialMetadata
impl Send for TrialMetadata
impl Sync for TrialMetadata
impl Unpin for TrialMetadata
impl UnsafeUnpin for TrialMetadata
impl UnwindSafe for TrialMetadata
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.