pub struct PlatformPortfolioHistoryResponse {
pub schema_version: u16,
pub contract_version: String,
pub wallet_address: String,
pub server_time_ms: u64,
pub range: PlatformPortfolioHistoryRange,
pub points: Vec<PlatformPortfolioHistoryPoint>,
pub collecting: bool,
pub first_sample_ms: Option<u64>,
pub last_sample_ms: Option<u64>,
}Expand description
Stored account-equity history. It never fabricates data before collection began and keeps all currency values in exact USD micros.
Fields§
§schema_version: u16§contract_version: String§wallet_address: String§server_time_ms: u64§range: PlatformPortfolioHistoryRange§points: Vec<PlatformPortfolioHistoryPoint>§collecting: bool§first_sample_ms: Option<u64>§last_sample_ms: Option<u64>Trait Implementations§
Source§impl Clone for PlatformPortfolioHistoryResponse
impl Clone for PlatformPortfolioHistoryResponse
Source§fn clone(&self) -> PlatformPortfolioHistoryResponse
fn clone(&self) -> PlatformPortfolioHistoryResponse
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 PlatformPortfolioHistoryResponse
impl<'de> Deserialize<'de> for PlatformPortfolioHistoryResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformPortfolioHistoryResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformPortfolioHistoryResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PlatformPortfolioHistoryResponse
Source§impl Serialize for PlatformPortfolioHistoryResponse
impl Serialize for PlatformPortfolioHistoryResponse
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
impl StructuralPartialEq for PlatformPortfolioHistoryResponse
Auto Trait Implementations§
impl Freeze for PlatformPortfolioHistoryResponse
impl RefUnwindSafe for PlatformPortfolioHistoryResponse
impl Send for PlatformPortfolioHistoryResponse
impl Sync for PlatformPortfolioHistoryResponse
impl Unpin for PlatformPortfolioHistoryResponse
impl UnsafeUnpin for PlatformPortfolioHistoryResponse
impl UnwindSafe for PlatformPortfolioHistoryResponse
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