pub struct RandomDrawId(pub u64);Expand description
Stable numeric identifier for RandomDrawId.
Tuple Fields§
§0: u64Implementations§
Source§impl RandomDrawId
impl RandomDrawId
Trait Implementations§
Source§impl Clone for RandomDrawId
impl Clone for RandomDrawId
Source§fn clone(&self) -> RandomDrawId
fn clone(&self) -> RandomDrawId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RandomDrawId
Source§impl Debug for RandomDrawId
impl Debug for RandomDrawId
Source§impl Default for RandomDrawId
impl Default for RandomDrawId
Source§fn default() -> RandomDrawId
fn default() -> RandomDrawId
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RandomDrawId
impl<'de> Deserialize<'de> for RandomDrawId
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RandomDrawId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RandomDrawId, <__D as Deserializer<'de>>::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
Source§fn cmp(&self, other: &RandomDrawId) -> Ordering
fn cmp(&self, other: &RandomDrawId) -> Ordering
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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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