pub enum PostGwApiV1StatementsResponse {
Ok(GetStatementsResponse),
BadRequest,
Unauthorized,
PaymentRequired,
Forbidden,
InternalServerError,
Unknown,
}Expand description
Response types for post_gw_api_v1_statements
Variants§
Ok(GetStatementsResponse)
200: Returns a JSON object containing the relevant statement.
BadRequest
400: Returns a Problem detail instance representing a bad request.
401: Returns a Problem detail instance representing an unauthorized request.
PaymentRequired
402: Returns a Problem detail instance representing an unauthorized request.
Forbidden
403: Returns a Problem detail instance representing a forbidden request.
InternalServerError
500: Returns a Problem detail instance representing an internal server error.
Unknown
default: Unknown response
Trait Implementations§
Source§impl Clone for PostGwApiV1StatementsResponse
impl Clone for PostGwApiV1StatementsResponse
Source§fn clone(&self) -> PostGwApiV1StatementsResponse
fn clone(&self) -> PostGwApiV1StatementsResponse
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 PostGwApiV1StatementsResponse
impl RefUnwindSafe for PostGwApiV1StatementsResponse
impl Send for PostGwApiV1StatementsResponse
impl Sync for PostGwApiV1StatementsResponse
impl Unpin for PostGwApiV1StatementsResponse
impl UnsafeUnpin for PostGwApiV1StatementsResponse
impl UnwindSafe for PostGwApiV1StatementsResponse
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