Struct discord_flows::model::CommandId
source · pub struct CommandId(pub u64);
Expand description
An identifier for a slash command.
Tuple Fields§
§0: u64
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for CommandId
impl<'de> Deserialize<'de> for CommandId
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<CommandId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<CommandId, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for CommandId
impl Ord for CommandId
source§impl PartialEq<CommandId> for CommandId
impl PartialEq<CommandId> for CommandId
source§impl PartialOrd<CommandId> for CommandId
impl PartialOrd<CommandId> for CommandId
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 moresource§impl Serialize for CommandId
impl Serialize for CommandId
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for CommandId
impl Eq for CommandId
impl StructuralEq for CommandId
impl StructuralPartialEq for CommandId
Auto Trait Implementations§
impl RefUnwindSafe for CommandId
impl Send for CommandId
impl Sync for CommandId
impl Unpin for CommandId
impl UnwindSafe for CommandId
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