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