pub struct ItemID(pub u64);Tuple Fields§
§0: u64Trait Implementations§
source§impl<'de> Deserialize<'de> for ItemID
impl<'de> Deserialize<'de> for ItemID
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 ItemID
impl Ord for ItemID
source§impl PartialEq<ItemID> for ItemID
impl PartialEq<ItemID> for ItemID
source§impl PartialOrd<ItemID> for ItemID
impl PartialOrd<ItemID> for ItemID
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for ItemID
impl Eq for ItemID
impl StructuralEq for ItemID
impl StructuralPartialEq for ItemID
Auto Trait Implementations§
impl RefUnwindSafe for ItemID
impl Send for ItemID
impl Sync for ItemID
impl Unpin for ItemID
impl UnwindSafe for ItemID
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> EntityTrait for Twhere
T: Send + Sync + Any + Serialize + DeserializeOwned,
impl<T> EntityTrait for Twhere T: Send + Sync + Any + Serialize + DeserializeOwned,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.source§impl<T> Serialize for Twhere
T: Serialize + ?Sized,
impl<T> Serialize for Twhere T: Serialize + ?Sized,
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<Ok, Error>
source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere T: Display,
source§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more