pub enum GetEmailMessageResponse {
Ok(EmailMessageResponse),
BadRequest(EmailMessageFailureResponse),
Unauthorized,
NotFound(EmailMessageFailureResponse),
MethodNotAllowed,
Conflict(EmailMessageFailureResponse),
Unknown,
}Expand description
Response types for getEmailMessage
Variants§
Ok(EmailMessageResponse)
200: Successful.
BadRequest(EmailMessageFailureResponse)
400: Invalid emailMessageId or no sending domain configured.
401: Invalid API key or content API not enabled for this team.
NotFound(EmailMessageFailureResponse)
404: Email message not found.
MethodNotAllowed
405: Wrong HTTP request method.
Conflict(EmailMessageFailureResponse)
409: Email message uses MJML format or content cannot be parsed.
Unknown
default: Unknown response
Trait Implementations§
Source§impl Clone for GetEmailMessageResponse
impl Clone for GetEmailMessageResponse
Auto Trait Implementations§
impl Freeze for GetEmailMessageResponse
impl RefUnwindSafe for GetEmailMessageResponse
impl Send for GetEmailMessageResponse
impl Sync for GetEmailMessageResponse
impl Unpin for GetEmailMessageResponse
impl UnsafeUnpin for GetEmailMessageResponse
impl UnwindSafe for GetEmailMessageResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more