pub enum CreateAlertResponse {
Ok(AlertCreationResponse),
BadRequest,
Unauthorized,
InternalServerError,
ServiceUnavailable,
Unknown,
}Expand description
Response types for createAlert
Variants§
Ok(AlertCreationResponse)
200: An object containing valid accounts and the account properties regarding trading access. This endpoint is also used to confirm account validation.
BadRequest
400: bad request; body is empty
401: Invalid or expired access token
InternalServerError
500: Internal Server Error. Unable to process request if incoming values are not valid. For example operator is “abc” Or if modification request contains unmodified fields
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 CreateAlertResponse
impl Clone for CreateAlertResponse
Source§fn clone(&self) -> CreateAlertResponse
fn clone(&self) -> CreateAlertResponse
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 CreateAlertResponse
impl RefUnwindSafe for CreateAlertResponse
impl Send for CreateAlertResponse
impl Sync for CreateAlertResponse
impl Unpin for CreateAlertResponse
impl UnsafeUnpin for CreateAlertResponse
impl UnwindSafe for CreateAlertResponse
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