pub enum UpdateEmailMessageResponse {
Ok(EmailMessageResponse),
BadRequest(EmailMessageFailureResponse),
Unauthorized,
NotFound(EmailMessageFailureResponse),
MethodNotAllowed,
Conflict(EmailMessageFailureResponse),
ContentTooLarge(EmailMessageFailureResponse),
UnprocessableEntity(EmailMessageFailureResponse),
Unknown,
}Expand description
Response types for updateEmailMessage
Variants§
Ok(EmailMessageResponse)
200: Email message updated.
BadRequest(EmailMessageFailureResponse)
400: Invalid request body.
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: Campaign is not in draft status, contentRevisionId is stale, content cannot be parsed, or email message uses MJML format.
ContentTooLarge(EmailMessageFailureResponse)
413: LMX payload exceeds the 100KB limit.
UnprocessableEntity(EmailMessageFailureResponse)
422: LMX failed to compile.
Unknown
default: Unknown response
Trait Implementations§
Source§impl Clone for UpdateEmailMessageResponse
impl Clone for UpdateEmailMessageResponse
Auto Trait Implementations§
impl Freeze for UpdateEmailMessageResponse
impl RefUnwindSafe for UpdateEmailMessageResponse
impl Send for UpdateEmailMessageResponse
impl Sync for UpdateEmailMessageResponse
impl Unpin for UpdateEmailMessageResponse
impl UnsafeUnpin for UpdateEmailMessageResponse
impl UnwindSafe for UpdateEmailMessageResponse
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