pub struct RandomDrawId(pub u64);Expand description
Stable numeric identifier for RandomDrawId.
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
Source§impl Clone for RandomDrawId
impl Clone for RandomDrawId
impl Copy for RandomDrawId
Source§impl Debug for RandomDrawId
impl Debug for RandomDrawId
Source§impl Default for RandomDrawId
impl Default for RandomDrawId
Source§impl<'de> Deserialize<'de> for RandomDrawId
impl<'de> Deserialize<'de> for RandomDrawId
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 Display for RandomDrawId
impl Display for RandomDrawId
impl Eq for RandomDrawId
Source§impl Hash for RandomDrawId
impl Hash for RandomDrawId
Source§impl Ord for RandomDrawId
impl Ord for RandomDrawId
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for RandomDrawId
impl PartialEq for RandomDrawId
Source§impl PartialOrd for RandomDrawId
impl PartialOrd for RandomDrawId
Source§impl Serialize for RandomDrawId
impl Serialize for RandomDrawId
impl StructuralPartialEq for RandomDrawId
Auto Trait Implementations§
impl Freeze for RandomDrawId
impl RefUnwindSafe for RandomDrawId
impl Send for RandomDrawId
impl Sync for RandomDrawId
impl Unpin for RandomDrawId
impl UnsafeUnpin for RandomDrawId
impl UnwindSafe for RandomDrawId
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