#[repr(transparent)]pub struct PrimaryKeyId(pub u64);Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for PrimaryKeyId
impl Clone for PrimaryKeyId
Source§fn clone(&self) -> PrimaryKeyId
fn clone(&self) -> PrimaryKeyId
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 PrimaryKeyId
impl Debug for PrimaryKeyId
Source§impl Deref for PrimaryKeyId
impl Deref for PrimaryKeyId
Source§impl<'de> Deserialize<'de> for PrimaryKeyId
impl<'de> Deserialize<'de> for PrimaryKeyId
Source§fn deserialize<D>(deserializer: D) -> Result<PrimaryKeyId, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<PrimaryKeyId, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PrimaryKeyId
impl Display for PrimaryKeyId
Source§impl From<PrimaryKeyId> for u64
impl From<PrimaryKeyId> for u64
Source§fn from(value: PrimaryKeyId) -> Self
fn from(value: PrimaryKeyId) -> Self
Converts to this type from the input type.
Source§impl From<i32> for PrimaryKeyId
impl From<i32> for PrimaryKeyId
Source§impl From<u64> for PrimaryKeyId
impl From<u64> for PrimaryKeyId
Source§impl Hash for PrimaryKeyId
impl Hash for PrimaryKeyId
Source§impl Ord for PrimaryKeyId
impl Ord for PrimaryKeyId
Source§fn cmp(&self, other: &PrimaryKeyId) -> Ordering
fn cmp(&self, other: &PrimaryKeyId) -> Ordering
1.21.0 · 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
Source§impl PartialEq<u64> for PrimaryKeyId
impl PartialEq<u64> for PrimaryKeyId
Source§impl PartialEq for PrimaryKeyId
impl PartialEq for PrimaryKeyId
Source§impl PartialOrd for PrimaryKeyId
impl PartialOrd for PrimaryKeyId
Source§impl Serialize for PrimaryKeyId
impl Serialize for PrimaryKeyId
impl Copy for PrimaryKeyId
impl Eq for PrimaryKeyId
impl StructuralPartialEq for PrimaryKeyId
Auto Trait Implementations§
impl Freeze for PrimaryKeyId
impl RefUnwindSafe for PrimaryKeyId
impl Send for PrimaryKeyId
impl Sync for PrimaryKeyId
impl Unpin for PrimaryKeyId
impl UnwindSafe for PrimaryKeyId
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.