pub struct HttpWebhookEvent {
pub event_type: String,
pub event_id: String,
pub timestamp: Option<i64>,
pub payload: Value,
}Expand description
Generic HTTP webhook event
Fields§
§event_type: StringEvent type
event_id: StringEvent ID
timestamp: Option<i64>Event timestamp
payload: ValuePayload
Trait Implementations§
Source§impl Clone for HttpWebhookEvent
impl Clone for HttpWebhookEvent
Source§fn clone(&self) -> HttpWebhookEvent
fn clone(&self) -> HttpWebhookEvent
Returns a duplicate of the value. Read more
1.0.0 · 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 HttpWebhookEvent
impl Debug for HttpWebhookEvent
Source§impl<'de> Deserialize<'de> for HttpWebhookEvent
impl<'de> Deserialize<'de> for HttpWebhookEvent
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 HttpWebhookEvent
impl RefUnwindSafe for HttpWebhookEvent
impl Send for HttpWebhookEvent
impl Sync for HttpWebhookEvent
impl Unpin for HttpWebhookEvent
impl UnsafeUnpin for HttpWebhookEvent
impl UnwindSafe for HttpWebhookEvent
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