pub struct RequestQuoteResponseDataResultReceive {
pub asset: RequestQuoteResponseDataResultReceiveAsset,
pub asset_class: Option<RequestQuoteResponseDataResultReceiveAssetClass>,
pub fee: RequestQuoteResponseDataResultReceiveFee,
pub subtotal: RequestQuoteResponseDataResultReceiveSubtotal,
pub total: RequestQuoteResponseDataResultReceiveTotal,
}Expand description
RequestQuoteResponseDataResultReceive
JSON schema
{
"type": "object",
"required": [
"asset",
"asset_class",
"fee",
"subtotal",
"total"
],
"properties": {
"asset": {
"type": "string",
"maxLength": 16
},
"asset_class": {
"type": [
"string",
"null"
],
"enum": [
"currency"
]
},
"fee": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"pattern": "^-?[0-9]+(\\.[0-9]+)?$"
},
"subtotal": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"pattern": "^-?[0-9]+(\\.[0-9]+)?$"
},
"total": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"pattern": "^-?[0-9]+(\\.[0-9]+)?$"
}
}
}Fields§
§asset: RequestQuoteResponseDataResultReceiveAsset§asset_class: Option<RequestQuoteResponseDataResultReceiveAssetClass>§fee: RequestQuoteResponseDataResultReceiveFee§subtotal: RequestQuoteResponseDataResultReceiveSubtotal§total: RequestQuoteResponseDataResultReceiveTotalTrait Implementations§
Source§impl Clone for RequestQuoteResponseDataResultReceive
impl Clone for RequestQuoteResponseDataResultReceive
Source§fn clone(&self) -> RequestQuoteResponseDataResultReceive
fn clone(&self) -> RequestQuoteResponseDataResultReceive
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<'de> Deserialize<'de> for RequestQuoteResponseDataResultReceive
impl<'de> Deserialize<'de> for RequestQuoteResponseDataResultReceive
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RequestQuoteResponseDataResultReceive, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RequestQuoteResponseDataResultReceive, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&RequestQuoteResponseDataResultReceive> for RequestQuoteResponseDataResultReceive
impl From<&RequestQuoteResponseDataResultReceive> for RequestQuoteResponseDataResultReceive
Source§fn from(
value: &RequestQuoteResponseDataResultReceive,
) -> RequestQuoteResponseDataResultReceive
fn from( value: &RequestQuoteResponseDataResultReceive, ) -> RequestQuoteResponseDataResultReceive
Converts to this type from the input type.
Source§impl Serialize for RequestQuoteResponseDataResultReceive
impl Serialize for RequestQuoteResponseDataResultReceive
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for RequestQuoteResponseDataResultReceive
impl RefUnwindSafe for RequestQuoteResponseDataResultReceive
impl Send for RequestQuoteResponseDataResultReceive
impl Sync for RequestQuoteResponseDataResultReceive
impl Unpin for RequestQuoteResponseDataResultReceive
impl UnwindSafe for RequestQuoteResponseDataResultReceive
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