Struct discord_flows::model::RuleId
source · pub struct RuleId(pub u64);Expand description
An identifier for an auto moderation rule
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for RuleId
impl<'de> Deserialize<'de> for RuleId
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<RuleId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<RuleId, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for RuleId
impl Ord for RuleId
source§impl PartialEq<RuleId> for RuleId
impl PartialEq<RuleId> for RuleId
source§impl PartialOrd<RuleId> for RuleId
impl PartialOrd<RuleId> for RuleId
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 RuleId
impl Serialize for RuleId
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 RuleId
impl Eq for RuleId
impl StructuralEq for RuleId
impl StructuralPartialEq for RuleId
Auto Trait Implementations§
impl RefUnwindSafe for RuleId
impl Send for RuleId
impl Sync for RuleId
impl Unpin for RuleId
impl UnwindSafe for RuleId
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