pub enum ActivateAlertResponse {
Ok(AlertActivationResponse),
Unauthorized,
InternalServerError,
Unknown,
}Expand description
Response types for activateAlert
Variants§
Ok(AlertActivationResponse)
200: An object containing details about the activated/deactivated alert.
401: Invalid or expired access token
InternalServerError
500: Internal Server Error; unable to process incoming request due to invalid data in it
Unknown
default: Unknown response
Trait Implementations§
Source§impl Clone for ActivateAlertResponse
impl Clone for ActivateAlertResponse
Source§fn clone(&self) -> ActivateAlertResponse
fn clone(&self) -> ActivateAlertResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ActivateAlertResponse
impl RefUnwindSafe for ActivateAlertResponse
impl Send for ActivateAlertResponse
impl Sync for ActivateAlertResponse
impl Unpin for ActivateAlertResponse
impl UnsafeUnpin for ActivateAlertResponse
impl UnwindSafe for ActivateAlertResponse
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