pub enum GetCampaignResponse {
Ok(CampaignResponse),
BadRequest(CampaignFailureResponse),
Unauthorized,
NotFound(CampaignFailureResponse),
MethodNotAllowed,
Unknown,
}Expand description
Response types for getCampaign
Variants§
Ok(CampaignResponse)
200: Successful.
BadRequest(CampaignFailureResponse)
400: Invalid campaignId.
401: Invalid API key or content API not enabled for this team.
NotFound(CampaignFailureResponse)
404: Campaign not found.
MethodNotAllowed
405: Wrong HTTP request method.
Unknown
default: Unknown response
Trait Implementations§
Source§impl Clone for GetCampaignResponse
impl Clone for GetCampaignResponse
Auto Trait Implementations§
impl Freeze for GetCampaignResponse
impl RefUnwindSafe for GetCampaignResponse
impl Send for GetCampaignResponse
impl Sync for GetCampaignResponse
impl Unpin for GetCampaignResponse
impl UnsafeUnpin for GetCampaignResponse
impl UnwindSafe for GetCampaignResponse
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