pub struct KrakenEmbedCustomOrderAmount {
pub amount: KrakenEmbedCustomOrderAmountAmount,
pub asset: String,
pub asset_class: KrakenEmbedCustomOrderAmountAssetClass,
}Expand description
Asset amount for custom order actions.
JSON schema
{
"title": "KrakenEmbedCustomOrderAmount",
"description": "Asset amount for custom order actions.",
"type": "object",
"required": [
"amount",
"asset"
],
"properties": {
"amount": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"pattern": "^-?[0-9]+(\\.[0-9]+)?$"
},
"asset": {
"type": "string"
},
"asset_class": {
"default": "currency",
"type": "string",
"enum": [
"currency"
]
}
},
"x-stainless-model": "kraken_embed.kraken_embed_custom_order_amount"
}Fields§
§amount: KrakenEmbedCustomOrderAmountAmount§asset: String§asset_class: KrakenEmbedCustomOrderAmountAssetClassTrait Implementations§
Source§impl Clone for KrakenEmbedCustomOrderAmount
impl Clone for KrakenEmbedCustomOrderAmount
Source§fn clone(&self) -> KrakenEmbedCustomOrderAmount
fn clone(&self) -> KrakenEmbedCustomOrderAmount
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 KrakenEmbedCustomOrderAmount
impl Debug for KrakenEmbedCustomOrderAmount
Source§impl<'de> Deserialize<'de> for KrakenEmbedCustomOrderAmount
impl<'de> Deserialize<'de> for KrakenEmbedCustomOrderAmount
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<&KrakenEmbedCustomOrderAmount> for KrakenEmbedCustomOrderAmount
impl From<&KrakenEmbedCustomOrderAmount> for KrakenEmbedCustomOrderAmount
Source§fn from(value: &KrakenEmbedCustomOrderAmount) -> Self
fn from(value: &KrakenEmbedCustomOrderAmount) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for KrakenEmbedCustomOrderAmount
impl RefUnwindSafe for KrakenEmbedCustomOrderAmount
impl Send for KrakenEmbedCustomOrderAmount
impl Sync for KrakenEmbedCustomOrderAmount
impl Unpin for KrakenEmbedCustomOrderAmount
impl UnsafeUnpin for KrakenEmbedCustomOrderAmount
impl UnwindSafe for KrakenEmbedCustomOrderAmount
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