pub enum TrialAction {
Start {
id: Uuid,
timestamp: Duration,
},
Define {
param: Param,
},
Sample {
name: String,
value: ParamValue,
},
Report {
step: NonZeroU64,
metric: Metric,
},
End,
}Variants§
Trait Implementations§
Source§impl Clone for TrialAction
impl Clone for TrialAction
Source§fn clone(&self) -> TrialAction
fn clone(&self) -> TrialAction
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 TrialAction
impl Debug for TrialAction
Source§impl<'de> Deserialize<'de> for TrialAction
impl<'de> Deserialize<'de> for TrialAction
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
Auto Trait Implementations§
impl Freeze for TrialAction
impl RefUnwindSafe for TrialAction
impl Send for TrialAction
impl Sync for TrialAction
impl Unpin for TrialAction
impl UnsafeUnpin for TrialAction
impl UnwindSafe for TrialAction
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