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