Struct mailslurp::models::abstract_webhook_payload::AbstractWebhookPayload [−][src]
pub struct AbstractWebhookPayload { pub event_name: EventName, pub message_id: String, pub webhook_id: String, pub webhook_name: Option<String>, }
Expand description
AbstractWebhookPayload : Abstract webhook payload. Use the correct payload type for your webhook event type in order to access all the specific properties for that event. See the NEW_EMAIL
,NEW_CONTACT
, NEW_ATTACHMENT
and EMAIL_OPENED
payloads for the properties available for those events.
Fields
event_name: EventName
message_id: String
webhook_id: String
webhook_name: Option<String>
Implementations
Abstract webhook payload. Use the correct payload type for your webhook event type in order to access all the specific properties for that event. See the NEW_EMAIL
,NEW_CONTACT
, NEW_ATTACHMENT
and EMAIL_OPENED
payloads for the properties available for those events.
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AbstractWebhookPayload
impl Send for AbstractWebhookPayload
impl Sync for AbstractWebhookPayload
impl Unpin for AbstractWebhookPayload
impl UnwindSafe for AbstractWebhookPayload
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more