Struct mailslurp::models::webhook_new_contact_payload::WebhookNewContactPayload [−][src]
pub struct WebhookNewContactPayload {}Show fields
pub company: Option<String>, pub contact_id: String, pub created_at: String, pub email_addresses: Vec<String>, pub event_name: Option<EventName>, pub first_name: Option<String>, pub group_id: Option<String>, pub last_name: Option<String>, pub message_id: Option<String>, pub meta_data: Option<Value>, pub opt_out: Option<bool>, pub primary_email_address: Option<String>, pub tags: Vec<String>, pub webhook_id: Option<String>, pub webhook_name: Option<String>,
Expand description
WebhookNewContactPayload : NEW_CONTACT webhook payload. Sent to your webhook url endpoint via HTTP POST when an email is received by the inbox that your webhook is attached to that contains a recipient that has not been saved as a contact.
Fields
company: Option<String>
contact_id: String
created_at: String
email_addresses: Vec<String>
event_name: Option<EventName>
Name of the event type webhook is being triggered for.
first_name: Option<String>
group_id: Option<String>
last_name: Option<String>
message_id: Option<String>
Idempotent message ID. Store this ID locally or in a database to prevent message duplication.
meta_data: Option<Value>
opt_out: Option<bool>
primary_email_address: Option<String>
webhook_id: Option<String>
ID of webhook entity being triggered
webhook_name: Option<String>
Name of the webhook being triggered
Implementations
NEW_CONTACT webhook payload. Sent to your webhook url endpoint via HTTP POST when an email is received by the inbox that your webhook is attached to that contains a recipient that has not been saved as a contact.
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 WebhookNewContactPayload
impl Send for WebhookNewContactPayload
impl Sync for WebhookNewContactPayload
impl Unpin for WebhookNewContactPayload
impl UnwindSafe for WebhookNewContactPayload
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more