pub struct ActivateAlertRequest {
pub path: ActivateAlertRequestPath,
pub body: AlertActivationRequest,
}Expand description
Activate or Deactivate existing alerts created for this account. This does not delete alerts, but disables notifications until reactivated.
Fields§
§path: ActivateAlertRequestPath§body: AlertActivationRequestImplementations§
Source§impl ActivateAlertRequest
impl ActivateAlertRequest
Sourcepub async fn parse_response(req: Response) -> Result<ActivateAlertResponse>
pub async fn parse_response(req: Response) -> Result<ActivateAlertResponse>
Parse the HTTP response into the response enum.
Trait Implementations§
Source§impl Clone for ActivateAlertRequest
impl Clone for ActivateAlertRequest
Source§fn clone(&self) -> ActivateAlertRequest
fn clone(&self) -> ActivateAlertRequest
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 moreSource§impl Debug for ActivateAlertRequest
impl Debug for ActivateAlertRequest
Source§impl Default for ActivateAlertRequest
impl Default for ActivateAlertRequest
Source§impl Validate for ActivateAlertRequest
impl Validate for ActivateAlertRequest
Source§impl<'v_a> ValidateArgs<'v_a> for ActivateAlertRequest
impl<'v_a> ValidateArgs<'v_a> for ActivateAlertRequest
Auto Trait Implementations§
impl Freeze for ActivateAlertRequest
impl RefUnwindSafe for ActivateAlertRequest
impl Send for ActivateAlertRequest
impl Sync for ActivateAlertRequest
impl Unpin for ActivateAlertRequest
impl UnsafeUnpin for ActivateAlertRequest
impl UnwindSafe for ActivateAlertRequest
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