pub struct TrialId(/* private fields */);Expand description
Unique identifier of one trial run.
Lexicographic ordering on the underlying ULID orders trials by
creation instant, so a sorted list of TrialIds is also sorted by
time-of-creation within a single generator stream.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TrialId
impl<'de> Deserialize<'de> for TrialId
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 Ord for TrialId
impl Ord for TrialId
Source§impl PartialOrd for TrialId
impl PartialOrd for TrialId
impl Copy for TrialId
impl Eq for TrialId
impl StructuralPartialEq for TrialId
Auto Trait Implementations§
impl Freeze for TrialId
impl RefUnwindSafe for TrialId
impl Send for TrialId
impl Sync for TrialId
impl Unpin for TrialId
impl UnsafeUnpin for TrialId
impl UnwindSafe for TrialId
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.