Struct mailslurp::models::webhook_dto::WebhookDto [−][src]
pub struct WebhookDto { pub basic_auth: Option<bool>, pub created_at: Option<String>, pub id: Option<String>, pub inbox_id: Option<String>, pub method: Option<Method>, pub name: Option<String>, pub payload_json_schema: Option<String>, pub updated_at: String, pub url: Option<String>, }
WebhookDto : Representation of a webhook for an inbox. The URL specified will be using by MailSlurp whenever an email is received by the attached inbox.
Fields
basic_auth: Option<bool>
Does webhook expect basic authentication? If true it means you created this webhook with a username and password. MailSlurp will use these in the URL to authenticate itself.
created_at: Option<String>
When the webhook was created
id: Option<String>
ID of the Webhook
inbox_id: Option<String>
The inbox that the Webhook will be triggered by
method: Option<Method>
HTTP method that your server endpoint must listen for
name: Option<String>
Name of the webhook
payload_json_schema: Option<String>
JSON Schema for the payload that will be sent to your URL via the HTTP method described.
updated_at: String
url: Option<String>
URL of your server that the webhook will be sent to. The schema of the JSON that is sent is described by the payloadJsonSchema.
Implementations
impl WebhookDto
[src]
impl WebhookDto
[src]pub fn new(updated_at: String) -> WebhookDto
[src]
Representation of a webhook for an inbox. The URL specified will be using by MailSlurp whenever an email is received by the attached inbox.
Trait Implementations
impl Clone for WebhookDto
[src]
impl Clone for WebhookDto
[src]fn clone(&self) -> WebhookDto
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for WebhookDto
[src]
impl<'de> Deserialize<'de> for WebhookDto
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<WebhookDto> for WebhookDto
[src]
impl PartialEq<WebhookDto> for WebhookDto
[src]fn eq(&self, other: &WebhookDto) -> bool
[src]
fn ne(&self, other: &WebhookDto) -> bool
[src]
impl Serialize for WebhookDto
[src]
impl Serialize for WebhookDto
[src]impl StructuralPartialEq for WebhookDto
[src]
impl StructuralPartialEq for WebhookDto
[src]Auto Trait Implementations
impl RefUnwindSafe for WebhookDto
impl RefUnwindSafe for WebhookDto
impl Send for WebhookDto
impl Send for WebhookDto
impl Sync for WebhookDto
impl Sync for WebhookDto
impl Unpin for WebhookDto
impl Unpin for WebhookDto
impl UnwindSafe for WebhookDto
impl UnwindSafe for WebhookDto
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]