pub struct EventAttributes {
pub event_type: WebhookEventTypeEnum,
pub created_at: String,
}
Fields§
§event_type: WebhookEventTypeEnum
The type of this event. This can be used to determine what action to take in response to the event.
created_at: String
The date-time at which this event was generated.
Trait Implementations§
Source§impl Debug for EventAttributes
impl Debug for EventAttributes
Source§impl<'de> Deserialize<'de> for EventAttributes
impl<'de> Deserialize<'de> for EventAttributes
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 EventAttributes
impl RefUnwindSafe for EventAttributes
impl Send for EventAttributes
impl Sync for EventAttributes
impl Unpin for EventAttributes
impl UnwindSafe for EventAttributes
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