pub enum GetAlertDetailsResponse {
Ok(AlertDetails),
BadRequest,
Unauthorized,
InternalServerError,
ServiceUnavailable,
Unknown,
}Expand description
Response types for getAlertDetails
Variants§
Ok(AlertDetails)
200: An object containing all unique details of the specified alert.
BadRequest
400: bad request if orderId is empty or type is invalid
401: Invalid or expired access token
InternalServerError
500: orderId is not parsable; unable to process request
503: service is unavailable. For example if request takes more than 10s due to some internal service unavailability, request aborted and this status returned
Unknown
default: Unknown response
Trait Implementations§
Source§impl Clone for GetAlertDetailsResponse
impl Clone for GetAlertDetailsResponse
Source§fn clone(&self) -> GetAlertDetailsResponse
fn clone(&self) -> GetAlertDetailsResponse
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 GetAlertDetailsResponse
impl RefUnwindSafe for GetAlertDetailsResponse
impl Send for GetAlertDetailsResponse
impl Sync for GetAlertDetailsResponse
impl Unpin for GetAlertDetailsResponse
impl UnsafeUnpin for GetAlertDetailsResponse
impl UnwindSafe for GetAlertDetailsResponse
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