pub enum AggState {
AggregatedList(Column),
AggregatedScalar(Column),
NotAggregated(Column),
LiteralScalar(Column),
}Variants§
AggregatedList(Column)
Already aggregated: .agg_list(group_tuples) is called
and produced a Series of dtype List
AggregatedScalar(Column)
Already aggregated: .agg is called on an aggregation
that produces a scalar.
think of sum, mean, variance like aggregations.
NotAggregated(Column)
Not yet aggregated: agg_list still has to be called.
LiteralScalar(Column)
A literal scalar value.
Implementations§
Source§impl AggState
impl AggState
pub fn name(&self) -> &PlSmallStr
pub fn flat_dtype(&self) -> &DataType
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for AggState
impl !RefUnwindSafe for AggState
impl Send for AggState
impl Sync for AggState
impl Unpin for AggState
impl !UnwindSafe for AggState
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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