pub struct UserMessageId(pub i64);
Tuple Fields§
§0: i64
Implementations§
Source§impl UserMessageId
impl UserMessageId
Trait Implementations§
Source§impl Clone for UserMessageId
impl Clone for UserMessageId
Source§fn clone(&self) -> UserMessageId
fn clone(&self) -> UserMessageId
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 UserMessageId
impl Debug for UserMessageId
Source§impl<'de> Deserialize<'de> for UserMessageId
impl<'de> Deserialize<'de> for UserMessageId
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 UserMessageId
impl Display for UserMessageId
Source§impl From<UserMessageId> for i64
impl From<UserMessageId> for i64
Source§fn from(outer: UserMessageId) -> Self
fn from(outer: UserMessageId) -> Self
Converts to this type from the input type.
Source§impl From<i64> for UserMessageId
impl From<i64> for UserMessageId
Source§impl Hash for UserMessageId
impl Hash for UserMessageId
Source§impl Ord for UserMessageId
impl Ord for UserMessageId
Source§fn cmp(&self, other: &UserMessageId) -> Ordering
fn cmp(&self, other: &UserMessageId) -> 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 for UserMessageId
impl PartialEq for UserMessageId
Source§impl PartialOrd for UserMessageId
impl PartialOrd for UserMessageId
impl Copy for UserMessageId
impl Eq for UserMessageId
impl StructuralPartialEq for UserMessageId
Auto Trait Implementations§
impl Freeze for UserMessageId
impl RefUnwindSafe for UserMessageId
impl Send for UserMessageId
impl Sync for UserMessageId
impl Unpin for UserMessageId
impl UnwindSafe for UserMessageId
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