pub struct CentsNegativeToUsdPattern2 {
pub cents: SeriesPattern1<Cents>,
pub negative: SeriesPattern1<Dollars>,
pub to_mcap: BpsPercentRatioPattern3,
pub to_own_gross_pnl: BpsPercentRatioPattern3,
pub to_own_mcap: BpsPercentRatioPattern4,
pub usd: SeriesPattern1<Dollars>,
}Expand description
Pattern struct for repeated tree structure.
Fields§
§cents: SeriesPattern1<Cents>§negative: SeriesPattern1<Dollars>§to_mcap: BpsPercentRatioPattern3§to_own_gross_pnl: BpsPercentRatioPattern3§to_own_mcap: BpsPercentRatioPattern4§usd: SeriesPattern1<Dollars>Implementations§
Source§impl CentsNegativeToUsdPattern2
impl CentsNegativeToUsdPattern2
Sourcepub fn new(client: Arc<BrkClientBase>, acc: String) -> Self
pub fn new(client: Arc<BrkClientBase>, acc: String) -> Self
Create a new pattern node with accumulated series name.
Auto Trait Implementations§
impl Freeze for CentsNegativeToUsdPattern2
impl !RefUnwindSafe for CentsNegativeToUsdPattern2
impl Send for CentsNegativeToUsdPattern2
impl Sync for CentsNegativeToUsdPattern2
impl Unpin for CentsNegativeToUsdPattern2
impl UnsafeUnpin for CentsNegativeToUsdPattern2
impl !UnwindSafe for CentsNegativeToUsdPattern2
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more