pub enum UpdateComponentResponseEnum {
Ok(UpdateComponentResponse),
BadRequest(ComponentFailureResponse),
Unauthorized,
NotFound(ComponentFailureResponse),
MethodNotAllowed,
ContentTooLarge(ComponentFailureResponse),
UnprocessableEntity(ComponentValidationFailureResponse),
Unknown,
}Expand description
Response types for updateComponent
Variants§
Ok(UpdateComponentResponse)
200: Successful.
BadRequest(ComponentFailureResponse)
400: Invalid componentId or request body.
401: Invalid API key or content API not enabled for this team.
NotFound(ComponentFailureResponse)
404: Component not found.
MethodNotAllowed
405: Wrong HTTP request method.
ContentTooLarge(ComponentFailureResponse)
413: LMX body exceeds the size limit.
UnprocessableEntity(ComponentValidationFailureResponse)
422: Invalid LMX, or a body change that would break emails using the component.
Unknown
default: Unknown response
Trait Implementations§
Source§impl Clone for UpdateComponentResponseEnum
impl Clone for UpdateComponentResponseEnum
Auto Trait Implementations§
impl Freeze for UpdateComponentResponseEnum
impl RefUnwindSafe for UpdateComponentResponseEnum
impl Send for UpdateComponentResponseEnum
impl Sync for UpdateComponentResponseEnum
impl Unpin for UpdateComponentResponseEnum
impl UnsafeUnpin for UpdateComponentResponseEnum
impl UnwindSafe for UpdateComponentResponseEnum
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