pub struct DeleteAlertRequest {
pub path: DeleteAlertRequestPath,
pub body: ArrayNode,
}Expand description
Permanently delete an existing alert. Deleting an MTA alert will reset it to the default state.
Fields§
§path: DeleteAlertRequestPath§body: ArrayNodeImplementations§
Source§impl DeleteAlertRequest
impl DeleteAlertRequest
Sourcepub async fn parse_response(req: Response) -> Result<DeleteAlertResponse>
pub async fn parse_response(req: Response) -> Result<DeleteAlertResponse>
Parse the HTTP response into the response enum.
Trait Implementations§
Source§impl Clone for DeleteAlertRequest
impl Clone for DeleteAlertRequest
Source§fn clone(&self) -> DeleteAlertRequest
fn clone(&self) -> DeleteAlertRequest
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 DeleteAlertRequest
impl Debug for DeleteAlertRequest
Source§impl Default for DeleteAlertRequest
impl Default for DeleteAlertRequest
Source§impl Validate for DeleteAlertRequest
impl Validate for DeleteAlertRequest
Source§impl<'v_a> ValidateArgs<'v_a> for DeleteAlertRequest
impl<'v_a> ValidateArgs<'v_a> for DeleteAlertRequest
Auto Trait Implementations§
impl Freeze for DeleteAlertRequest
impl RefUnwindSafe for DeleteAlertRequest
impl Send for DeleteAlertRequest
impl Sync for DeleteAlertRequest
impl Unpin for DeleteAlertRequest
impl UnsafeUnpin for DeleteAlertRequest
impl UnwindSafe for DeleteAlertRequest
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