pub struct GuildId(pub u64);Expand description
Newtype for guild ids.
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
impl Copy for GuildId
Source§impl<'de> Deserialize<'de> for GuildId
impl<'de> Deserialize<'de> for GuildId
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
impl Eq for GuildId
Source§impl Ord for GuildId
impl Ord for GuildId
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
Source§impl PartialOrd for GuildId
impl PartialOrd for GuildId
impl StructuralPartialEq for GuildId
Auto Trait Implementations§
impl Freeze for GuildId
impl RefUnwindSafe for GuildId
impl Send for GuildId
impl Sync for GuildId
impl Unpin for GuildId
impl UnsafeUnpin for GuildId
impl UnwindSafe for GuildId
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