pub struct CreateOnrampOrderResponse {
pub order: OnrampOrder,
pub payment_link: Option<OnrampPaymentLink>,
}
Expand description
CreateOnrampOrderResponse
JSON schema
{
"type": "object",
"required": [
"order"
],
"properties": {
"order": {
"$ref": "#/components/schemas/OnrampOrder"
},
"paymentLink": {
"$ref": "#/components/schemas/OnrampPaymentLink"
}
}
}
Fields§
§order: OnrampOrder
§payment_link: Option<OnrampPaymentLink>
Implementations§
Source§impl CreateOnrampOrderResponse
impl CreateOnrampOrderResponse
pub fn builder() -> CreateOnrampOrderResponse
Trait Implementations§
Source§impl Clone for CreateOnrampOrderResponse
impl Clone for CreateOnrampOrderResponse
Source§fn clone(&self) -> CreateOnrampOrderResponse
fn clone(&self) -> CreateOnrampOrderResponse
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 CreateOnrampOrderResponse
impl Debug for CreateOnrampOrderResponse
Source§impl<'de> Deserialize<'de> for CreateOnrampOrderResponse
impl<'de> Deserialize<'de> for CreateOnrampOrderResponse
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
Source§impl From<&CreateOnrampOrderResponse> for CreateOnrampOrderResponse
impl From<&CreateOnrampOrderResponse> for CreateOnrampOrderResponse
Source§fn from(value: &CreateOnrampOrderResponse) -> Self
fn from(value: &CreateOnrampOrderResponse) -> Self
Converts to this type from the input type.
Source§impl From<CreateOnrampOrderResponse> for CreateOnrampOrderResponse
impl From<CreateOnrampOrderResponse> for CreateOnrampOrderResponse
Source§fn from(value: CreateOnrampOrderResponse) -> Self
fn from(value: CreateOnrampOrderResponse) -> Self
Converts to this type from the input type.
Source§impl TryFrom<CreateOnrampOrderResponse> for CreateOnrampOrderResponse
impl TryFrom<CreateOnrampOrderResponse> for CreateOnrampOrderResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: CreateOnrampOrderResponse) -> Result<Self, ConversionError>
fn try_from(value: CreateOnrampOrderResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for CreateOnrampOrderResponse
impl RefUnwindSafe for CreateOnrampOrderResponse
impl Send for CreateOnrampOrderResponse
impl Sync for CreateOnrampOrderResponse
impl Unpin for CreateOnrampOrderResponse
impl UnwindSafe for CreateOnrampOrderResponse
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