Struct TrialId
pub struct TrialId(pub u64);Expand description
Identifies a trial within one storage backend.
Opaque and storage-global: ids may have gaps and their order carries no
meaning. Use TrialNumber for anything that must be reproducible.
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
impl Copy for TrialId
§impl<'de> Deserialize<'de> for TrialId
impl<'de> Deserialize<'de> for TrialId
§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 Eq for TrialId
§impl Ord for TrialId
impl Ord for TrialId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for TrialId
impl PartialOrd 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