pub enum InstanceSelection {
Fresh,
All,
FilteredFresh(LambdaExpr),
FilteredAll(LambdaExpr),
}
Expand description
Enum to indicate which instances are part of the aggregation
Variants§
Fresh
Only instances that are updated in this evaluation cycle are part of the aggregation
All
All instances are part of the aggregation
FilteredFresh(LambdaExpr)
Only instances that are updated in this evaluation cycle are part of the aggregation and satisfy the condition
FilteredAll(LambdaExpr)
All instances that satisfy the condition are part of the aggregation
Trait Implementations§
Source§impl Clone for InstanceSelection
impl Clone for InstanceSelection
Source§fn clone(&self) -> InstanceSelection
fn clone(&self) -> InstanceSelection
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 InstanceSelection
impl Debug for InstanceSelection
Source§impl Display for InstanceSelection
impl Display for InstanceSelection
Source§impl Hash for InstanceSelection
impl Hash for InstanceSelection
Source§impl Ord for InstanceSelection
impl Ord for InstanceSelection
Source§fn cmp(&self, other: &InstanceSelection) -> Ordering
fn cmp(&self, other: &InstanceSelection) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for InstanceSelection
impl PartialEq for InstanceSelection
Source§impl PartialOrd for InstanceSelection
impl PartialOrd for InstanceSelection
impl Eq for InstanceSelection
impl StructuralPartialEq for InstanceSelection
Auto Trait Implementations§
impl Freeze for InstanceSelection
impl RefUnwindSafe for InstanceSelection
impl !Send for InstanceSelection
impl !Sync for InstanceSelection
impl Unpin for InstanceSelection
impl UnwindSafe for InstanceSelection
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