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