pub struct CoinbaseOrderResponse {
pub success: bool,
pub failure_reason: SmartString,
pub order_id: SmartString,
pub success_response: Option<CoinbaseOrderSuccessResponse>,
pub error_response: Option<CoinbaseOrderErrorResponse>,
}Expand description
Response from order operations
Fields§
§success: boolWhether the order operation was successful
failure_reason: SmartStringReason for failure if the operation was not successful
order_id: SmartStringUnique identifier for the order
success_response: Option<CoinbaseOrderSuccessResponse>Success response details if the operation succeeded
error_response: Option<CoinbaseOrderErrorResponse>Error response details if the operation failed
Trait Implementations§
Source§impl Clone for CoinbaseOrderResponse
impl Clone for CoinbaseOrderResponse
Source§fn clone(&self) -> CoinbaseOrderResponse
fn clone(&self) -> CoinbaseOrderResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CoinbaseOrderResponse
impl Debug for CoinbaseOrderResponse
Source§impl<'de> Deserialize<'de> for CoinbaseOrderResponse
impl<'de> Deserialize<'de> for CoinbaseOrderResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CoinbaseOrderResponse
impl RefUnwindSafe for CoinbaseOrderResponse
impl Send for CoinbaseOrderResponse
impl Sync for CoinbaseOrderResponse
impl Unpin for CoinbaseOrderResponse
impl UnwindSafe for CoinbaseOrderResponse
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