pub enum PreviewEmailMessageResponse {
Ok(EmailMessagePreviewResponse),
BadRequest(EmailMessageFailureResponse),
Unauthorized,
NotFound(EmailMessageFailureResponse),
MethodNotAllowed,
TooManyRequests(EmailMessageFailureResponse),
Unknown,
}Expand description
Response types for previewEmailMessage
Variants§
Ok(EmailMessagePreviewResponse)
200: Preview scheduled.
BadRequest(EmailMessageFailureResponse)
400: Invalid request body, or a variable field the parent cannot reference.
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.
TooManyRequests(EmailMessageFailureResponse)
429: The daily preview limit was reached.
Unknown
default: Unknown response
Trait Implementations§
Source§impl Clone for PreviewEmailMessageResponse
impl Clone for PreviewEmailMessageResponse
Auto Trait Implementations§
impl Freeze for PreviewEmailMessageResponse
impl RefUnwindSafe for PreviewEmailMessageResponse
impl Send for PreviewEmailMessageResponse
impl Sync for PreviewEmailMessageResponse
impl Unpin for PreviewEmailMessageResponse
impl UnsafeUnpin for PreviewEmailMessageResponse
impl UnwindSafe for PreviewEmailMessageResponse
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