pub struct WebhookDispatch {
pub id: String,
pub webhook_id: Option<String>,
pub extra: Extra,
}Expand description
A single dispatch (invocation) of a webhook.
Fields§
§id: StringUnique dispatch ID.
webhook_id: Option<String>ID of the webhook that produced this dispatch.
extra: ExtraAny other fields returned by the API.
Trait Implementations§
Source§impl Clone for WebhookDispatch
impl Clone for WebhookDispatch
Source§fn clone(&self) -> WebhookDispatch
fn clone(&self) -> WebhookDispatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WebhookDispatch
impl Debug for WebhookDispatch
Source§impl<'de> Deserialize<'de> for WebhookDispatch
impl<'de> Deserialize<'de> for WebhookDispatch
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
Auto Trait Implementations§
impl Freeze for WebhookDispatch
impl RefUnwindSafe for WebhookDispatch
impl Send for WebhookDispatch
impl Sync for WebhookDispatch
impl Unpin for WebhookDispatch
impl UnsafeUnpin for WebhookDispatch
impl UnwindSafe for WebhookDispatch
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