Struct mailslurp::models::webhook_result_dto::WebhookResultDto [−][src]
pub struct WebhookResultDto {Show 15 fields
pub created_at: String,
pub http_method: HttpMethod,
pub id: Option<String>,
pub inbox_id: String,
pub message_id: String,
pub redrive_id: Option<String>,
pub response_body_extract: Option<String>,
pub response_status: Option<i32>,
pub response_time_millis: i64,
pub result_type: Option<ResultType>,
pub updated_at: String,
pub user_id: String,
pub webhook_event: WebhookEvent,
pub webhook_id: String,
pub webhook_url: String,
}
Fields
created_at: String
http_method: HttpMethod
id: Option<String>
inbox_id: String
message_id: String
redrive_id: Option<String>
response_body_extract: Option<String>
response_status: Option<i32>
response_time_millis: i64
result_type: Option<ResultType>
updated_at: String
user_id: String
webhook_event: WebhookEvent
webhook_id: String
webhook_url: String
Implementations
pub fn new(
created_at: String,
http_method: HttpMethod,
inbox_id: String,
message_id: String,
response_time_millis: i64,
updated_at: String,
user_id: String,
webhook_event: WebhookEvent,
webhook_id: String,
webhook_url: String
) -> WebhookResultDto
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 WebhookResultDto
impl Send for WebhookResultDto
impl Sync for WebhookResultDto
impl Unpin for WebhookResultDto
impl UnwindSafe for WebhookResultDto
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more