pub struct SpendingSpentUnspentPattern {
pub spending_rate: SeriesPattern1<StoredF32>,
pub spent_count: AverageBlockCumulativeSumPattern2,
pub unspent_count: BaseDeltaPattern,
}Expand description
Pattern struct for repeated tree structure.
Fields§
§spending_rate: SeriesPattern1<StoredF32>§spent_count: AverageBlockCumulativeSumPattern2§unspent_count: BaseDeltaPatternImplementations§
Source§impl SpendingSpentUnspentPattern
impl SpendingSpentUnspentPattern
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 SpendingSpentUnspentPattern
impl !RefUnwindSafe for SpendingSpentUnspentPattern
impl Send for SpendingSpentUnspentPattern
impl Sync for SpendingSpentUnspentPattern
impl Unpin for SpendingSpentUnspentPattern
impl UnsafeUnpin for SpendingSpentUnspentPattern
impl !UnwindSafe for SpendingSpentUnspentPattern
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