pub struct CreateAlertRequest {
pub path: CreateAlertRequestPath,
pub body: AlertCreationRequest,
}Expand description
Endpoint used to create a new alert, or modify an existing alert.
Fields§
§path: CreateAlertRequestPath§body: AlertCreationRequestImplementations§
Source§impl CreateAlertRequest
impl CreateAlertRequest
Sourcepub async fn parse_response(req: Response) -> Result<CreateAlertResponse>
pub async fn parse_response(req: Response) -> Result<CreateAlertResponse>
Parse the HTTP response into the response enum.
Trait Implementations§
Source§impl Clone for CreateAlertRequest
impl Clone for CreateAlertRequest
Source§fn clone(&self) -> CreateAlertRequest
fn clone(&self) -> CreateAlertRequest
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 CreateAlertRequest
impl Debug for CreateAlertRequest
Source§impl Default for CreateAlertRequest
impl Default for CreateAlertRequest
Source§impl Validate for CreateAlertRequest
impl Validate for CreateAlertRequest
Source§impl<'v_a> ValidateArgs<'v_a> for CreateAlertRequest
impl<'v_a> ValidateArgs<'v_a> for CreateAlertRequest
Auto Trait Implementations§
impl Freeze for CreateAlertRequest
impl RefUnwindSafe for CreateAlertRequest
impl Send for CreateAlertRequest
impl Sync for CreateAlertRequest
impl Unpin for CreateAlertRequest
impl UnsafeUnpin for CreateAlertRequest
impl UnwindSafe for CreateAlertRequest
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