pub struct CampaignExcursion {
pub mae: f64,
pub mfe: f64,
pub observations: u64,
}Expand description
Campaign P&L extrema, including a zero baseline before the first mark.
Fields§
§mae: f64§mfe: f64§observations: u64Implementations§
Trait Implementations§
Source§impl Clone for CampaignExcursion
impl Clone for CampaignExcursion
Source§fn clone(&self) -> CampaignExcursion
fn clone(&self) -> CampaignExcursion
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 moreimpl Copy for CampaignExcursion
Source§impl Debug for CampaignExcursion
impl Debug for CampaignExcursion
Source§impl Default for CampaignExcursion
impl Default for CampaignExcursion
Source§impl<'de> Deserialize<'de> for CampaignExcursionwhere
CampaignExcursion: Default,
impl<'de> Deserialize<'de> for CampaignExcursionwhere
CampaignExcursion: Default,
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 CampaignExcursion
impl PartialEq for CampaignExcursion
Source§impl Serialize for CampaignExcursion
impl Serialize for CampaignExcursion
impl StructuralPartialEq for CampaignExcursion
Auto Trait Implementations§
impl Freeze for CampaignExcursion
impl RefUnwindSafe for CampaignExcursion
impl Send for CampaignExcursion
impl Sync for CampaignExcursion
impl Unpin for CampaignExcursion
impl UnsafeUnpin for CampaignExcursion
impl UnwindSafe for CampaignExcursion
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