pub struct GetPortfolioTransactionsResponseDataResultTransactionsItemSpendAmount {
pub amount: GetPortfolioTransactionsResponseDataResultTransactionsItemSpendAmountAmount,
pub asset: GetPortfolioTransactionsResponseDataResultTransactionsItemSpendAmountAsset,
pub asset_class: Option<GetPortfolioTransactionsResponseDataResultTransactionsItemSpendAmountAssetClass>,
}Expand description
GetPortfolioTransactionsResponseDataResultTransactionsItemSpendAmount
JSON schema
{
"type": "object",
"required": [
"amount",
"asset",
"asset_class"
],
"properties": {
"amount": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"pattern": "^-?[0-9]+(\\.[0-9]+)?$"
},
"asset": {
"type": "string",
"maxLength": 16
},
"asset_class": {
"type": [
"string",
"null"
],
"enum": [
"currency"
]
}
}
}Fields§
§amount: GetPortfolioTransactionsResponseDataResultTransactionsItemSpendAmountAmount§asset: GetPortfolioTransactionsResponseDataResultTransactionsItemSpendAmountAsset§asset_class: Option<GetPortfolioTransactionsResponseDataResultTransactionsItemSpendAmountAssetClass>Trait Implementations§
Source§impl Clone for GetPortfolioTransactionsResponseDataResultTransactionsItemSpendAmount
impl Clone for GetPortfolioTransactionsResponseDataResultTransactionsItemSpendAmount
Source§fn clone(
&self,
) -> GetPortfolioTransactionsResponseDataResultTransactionsItemSpendAmount
fn clone( &self, ) -> GetPortfolioTransactionsResponseDataResultTransactionsItemSpendAmount
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 GetPortfolioTransactionsResponseDataResultTransactionsItemSpendAmount
impl<'de> Deserialize<'de> for GetPortfolioTransactionsResponseDataResultTransactionsItemSpendAmount
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<&GetPortfolioTransactionsResponseDataResultTransactionsItemSpendAmount> for GetPortfolioTransactionsResponseDataResultTransactionsItemSpendAmount
impl From<&GetPortfolioTransactionsResponseDataResultTransactionsItemSpendAmount> for GetPortfolioTransactionsResponseDataResultTransactionsItemSpendAmount
Source§fn from(
value: &GetPortfolioTransactionsResponseDataResultTransactionsItemSpendAmount,
) -> Self
fn from( value: &GetPortfolioTransactionsResponseDataResultTransactionsItemSpendAmount, ) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GetPortfolioTransactionsResponseDataResultTransactionsItemSpendAmount
impl RefUnwindSafe for GetPortfolioTransactionsResponseDataResultTransactionsItemSpendAmount
impl Send for GetPortfolioTransactionsResponseDataResultTransactionsItemSpendAmount
impl Sync for GetPortfolioTransactionsResponseDataResultTransactionsItemSpendAmount
impl Unpin for GetPortfolioTransactionsResponseDataResultTransactionsItemSpendAmount
impl UnwindSafe for GetPortfolioTransactionsResponseDataResultTransactionsItemSpendAmount
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