pub struct GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceive {
pub amount: GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceiveAmount,
pub balance: Option<GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceiveBalance>,
pub fee: Option<GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceiveFee>,
pub ledger_id: Option<String>,
pub quoted_amount: Option<GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceiveQuotedAmount>,
pub quoted_fee: Option<GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceiveQuotedFee>,
pub quoted_total: Option<GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceiveQuotedTotal>,
pub time: Option<DateTime<Utc>>,
pub total: GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceiveTotal,
}Expand description
GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceive
JSON schema
{
"type": "object",
"required": [
"amount",
"total"
],
"properties": {
"amount": {
"type": "object",
"required": [
"amount",
"asset"
],
"properties": {
"amount": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"pattern": "^-?[0-9]+(\\.[0-9]+)?$"
},
"asset": {
"type": "string",
"maxLength": 16
},
"asset_class": {
"type": "string",
"enum": [
"currency"
]
}
}
},
"balance": {
"type": "object",
"required": [
"amount",
"asset"
],
"properties": {
"amount": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"pattern": "^-?[0-9]+(\\.[0-9]+)?$"
},
"asset": {
"type": "string",
"maxLength": 16
},
"asset_class": {
"type": "string",
"enum": [
"currency"
]
}
}
},
"fee": {
"type": "object",
"required": [
"amount",
"asset"
],
"properties": {
"amount": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"pattern": "^-?[0-9]+(\\.[0-9]+)?$"
},
"asset": {
"type": "string",
"maxLength": 16
},
"asset_class": {
"type": "string",
"enum": [
"currency"
]
}
}
},
"ledger_id": {
"type": "string"
},
"quoted_amount": {
"type": "object",
"required": [
"amount",
"asset"
],
"properties": {
"amount": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"pattern": "^-?[0-9]+(\\.[0-9]+)?$"
},
"asset": {
"type": "string",
"maxLength": 16
},
"asset_class": {
"type": "string",
"enum": [
"currency"
]
}
}
},
"quoted_fee": {
"type": "object",
"required": [
"amount",
"asset"
],
"properties": {
"amount": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"pattern": "^-?[0-9]+(\\.[0-9]+)?$"
},
"asset": {
"type": "string",
"maxLength": 16
},
"asset_class": {
"type": "string",
"enum": [
"currency"
]
}
}
},
"quoted_total": {
"type": "object",
"required": [
"amount",
"asset"
],
"properties": {
"amount": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"pattern": "^-?[0-9]+(\\.[0-9]+)?$"
},
"asset": {
"type": "string",
"maxLength": 16
},
"asset_class": {
"type": "string",
"enum": [
"currency"
]
}
}
},
"time": {
"type": "string",
"format": "date-time"
},
"total": {
"type": "object",
"required": [
"amount",
"asset"
],
"properties": {
"amount": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"pattern": "^-?[0-9]+(\\.[0-9]+)?$"
},
"asset": {
"type": "string",
"maxLength": 16
},
"asset_class": {
"type": "string",
"enum": [
"currency"
]
}
}
}
}
}Fields§
§amount: GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceiveAmount§balance: Option<GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceiveBalance>§fee: Option<GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceiveFee>§ledger_id: Option<String>§quoted_amount: Option<GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceiveQuotedAmount>§quoted_fee: Option<GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceiveQuotedFee>§quoted_total: Option<GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceiveQuotedTotal>§time: Option<DateTime<Utc>>§total: GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceiveTotalTrait Implementations§
Source§impl Clone for GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceive
impl Clone for GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceive
Source§fn clone(
&self,
) -> GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceive
fn clone( &self, ) -> GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceive
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<'de> Deserialize<'de> for GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceive
impl<'de> Deserialize<'de> for GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceive
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<&GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceive> for GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceive
impl From<&GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceive> for GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceive
Source§fn from(
value: &GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceive,
) -> Self
fn from( value: &GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceive, ) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceive
impl RefUnwindSafe for GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceive
impl Send for GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceive
impl Sync for GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceive
impl Unpin for GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceive
impl UnsafeUnpin for GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceive
impl UnwindSafe for GetMasterAccountPortfolioTransactionsResponseResultTransactionsItemReceive
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