pub struct PortfolioAssetIndexPriceResponseItem {
pub asset: String,
pub asset_index_price: String,
pub time: i64,
}
Expand description
PortfolioAssetIndexPriceResponseItem
JSON schema
{
"type": "object",
"required": [
"asset",
"assetIndexPrice",
"time"
],
"properties": {
"asset": {
"examples": [
"USDT"
],
"type": "string"
},
"assetIndexPrice": {
"examples": [
"28251.9136906"
],
"type": "string"
},
"time": {
"examples": [
1683518338121
],
"type": "integer",
"format": "int64"
}
}
}
Fields§
§asset: String
§asset_index_price: String
§time: i64
Trait Implementations§
Source§impl Clone for PortfolioAssetIndexPriceResponseItem
impl Clone for PortfolioAssetIndexPriceResponseItem
Source§fn clone(&self) -> PortfolioAssetIndexPriceResponseItem
fn clone(&self) -> PortfolioAssetIndexPriceResponseItem
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 PortfolioAssetIndexPriceResponseItem
impl<'de> Deserialize<'de> for PortfolioAssetIndexPriceResponseItem
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<&PortfolioAssetIndexPriceResponseItem> for PortfolioAssetIndexPriceResponseItem
impl From<&PortfolioAssetIndexPriceResponseItem> for PortfolioAssetIndexPriceResponseItem
Source§fn from(value: &PortfolioAssetIndexPriceResponseItem) -> Self
fn from(value: &PortfolioAssetIndexPriceResponseItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PortfolioAssetIndexPriceResponseItem
impl RefUnwindSafe for PortfolioAssetIndexPriceResponseItem
impl Send for PortfolioAssetIndexPriceResponseItem
impl Sync for PortfolioAssetIndexPriceResponseItem
impl Unpin for PortfolioAssetIndexPriceResponseItem
impl UnwindSafe for PortfolioAssetIndexPriceResponseItem
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