pub struct PerformanceTpps {
pub dates: Option<Vec<String>>,
pub freq: Option<String>,
pub data: Option<Vec<PerformanceCpsData>>,
}
Expand description
PerformanceTpps : Time period performance data
Fields§
§dates: Option<Vec<String>>
array of dates, the length should be same as the length of returns inside data.
freq: Option<String>
M means Month
data: Option<Vec<PerformanceCpsData>>
Implementations§
Source§impl PerformanceTpps
impl PerformanceTpps
Sourcepub fn new() -> PerformanceTpps
pub fn new() -> PerformanceTpps
Time period performance data
Trait Implementations§
Source§impl Clone for PerformanceTpps
impl Clone for PerformanceTpps
Source§fn clone(&self) -> PerformanceTpps
fn clone(&self) -> PerformanceTpps
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 Debug for PerformanceTpps
impl Debug for PerformanceTpps
Source§impl<'de> Deserialize<'de> for PerformanceTpps
impl<'de> Deserialize<'de> for PerformanceTpps
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 PartialEq for PerformanceTpps
impl PartialEq for PerformanceTpps
Source§impl Serialize for PerformanceTpps
impl Serialize for PerformanceTpps
impl StructuralPartialEq for PerformanceTpps
Auto Trait Implementations§
impl Freeze for PerformanceTpps
impl RefUnwindSafe for PerformanceTpps
impl Send for PerformanceTpps
impl Sync for PerformanceTpps
impl Unpin for PerformanceTpps
impl UnwindSafe for PerformanceTpps
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