pub enum UpdateCampaignResponse {
Ok(CampaignResponse),
BadRequest(CampaignFailureResponse),
Unauthorized,
NotFound(CampaignFailureResponse),
MethodNotAllowed,
Conflict(CampaignFailureResponse),
Unknown,
}Expand description
Response types for updateCampaign
Variants§
Ok(CampaignResponse)
200: Campaign updated.
BadRequest(CampaignFailureResponse)
400: Invalid request body or campaign group not found.
401: Invalid API key or content API not enabled for this team.
NotFound(CampaignFailureResponse)
404: Campaign, mailing list, or audience segment not found.
MethodNotAllowed
405: Wrong HTTP request method.
Conflict(CampaignFailureResponse)
409: Campaign has been sent and the request updates a field other than name or campaignGroupId.
Unknown
default: Unknown response
Trait Implementations§
Source§impl Clone for UpdateCampaignResponse
impl Clone for UpdateCampaignResponse
Auto Trait Implementations§
impl Freeze for UpdateCampaignResponse
impl RefUnwindSafe for UpdateCampaignResponse
impl Send for UpdateCampaignResponse
impl Sync for UpdateCampaignResponse
impl Unpin for UpdateCampaignResponse
impl UnsafeUnpin for UpdateCampaignResponse
impl UnwindSafe for UpdateCampaignResponse
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