Struct mailslurp::models::create_webhook_options::CreateWebhookOptions [−][src]
pub struct CreateWebhookOptions { pub basic_auth: Option<Box<BasicAuthOptions>>, pub name: Option<String>, pub url: Option<String>, }
CreateWebhookOptions : Options for creating a webhook. Webhooks can be attached to inboxes and MailSlurp will POST a webhook payload to the URL specified whenever the inbox receives an email. Webhooks are great for processing many inbound emails.
Fields
basic_auth: Option<Box<BasicAuthOptions>>
name: Option<String>
Optional name for the webhook
url: Option<String>
Public URL on your server that MailSlurp can post WebhookNotification payload to when an email is received. The payload of the submitted JSON is described by https://api.mailslurp.com/schemas/webhook-payload
Implementations
impl CreateWebhookOptions
[src]
impl CreateWebhookOptions
[src]pub fn new() -> CreateWebhookOptions
[src]
Options for creating a webhook. Webhooks can be attached to inboxes and MailSlurp will POST a webhook payload to the URL specified whenever the inbox receives an email. Webhooks are great for processing many inbound emails.
Trait Implementations
impl Clone for CreateWebhookOptions
[src]
impl Clone for CreateWebhookOptions
[src]fn clone(&self) -> CreateWebhookOptions
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for CreateWebhookOptions
[src]
impl<'de> Deserialize<'de> for CreateWebhookOptions
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<CreateWebhookOptions> for CreateWebhookOptions
[src]
impl PartialEq<CreateWebhookOptions> for CreateWebhookOptions
[src]fn eq(&self, other: &CreateWebhookOptions) -> bool
[src]
fn ne(&self, other: &CreateWebhookOptions) -> bool
[src]
impl Serialize for CreateWebhookOptions
[src]
impl Serialize for CreateWebhookOptions
[src]Auto Trait Implementations
impl RefUnwindSafe for CreateWebhookOptions
impl RefUnwindSafe for CreateWebhookOptions
impl Send for CreateWebhookOptions
impl Send for CreateWebhookOptions
impl Sync for CreateWebhookOptions
impl Sync for CreateWebhookOptions
impl Unpin for CreateWebhookOptions
impl Unpin for CreateWebhookOptions
impl UnwindSafe for CreateWebhookOptions
impl UnwindSafe for CreateWebhookOptions
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]