pub struct InstanceAggregation {
pub target: StreamReference,
pub caller: StreamReference,
pub selection: InstanceSelection,
pub aggr: InstanceOperation,
pub reference: WindowReference,
pub ty: Type,
pub origin: Origin,
pub pacing: PacingType,
}
Expand description
Represents an instance of an instance aggregation
Fields§
§target: StreamReference
The stream whose values will be aggregated
caller: StreamReference
The stream calling and evaluating this window
selection: InstanceSelection
A filter over the instances
aggr: InstanceOperation
The operation to be performed over the instances
reference: WindowReference
The reference of this window.
ty: Type
The type of value the window produces
origin: Origin
The origin of the instance window expression
pacing: PacingType
The pacing of the instance aggregation expression
Trait Implementations§
Source§impl Clone for InstanceAggregation
impl Clone for InstanceAggregation
Source§fn clone(&self) -> InstanceAggregation
fn clone(&self) -> InstanceAggregation
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 InstanceAggregation
impl Debug for InstanceAggregation
Source§impl<'de> Deserialize<'de> for InstanceAggregation
impl<'de> Deserialize<'de> for InstanceAggregation
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 InstanceAggregation
impl PartialEq for InstanceAggregation
Source§impl Serialize for InstanceAggregation
impl Serialize for InstanceAggregation
Source§impl Window for InstanceAggregation
impl Window for InstanceAggregation
Source§fn target(&self) -> StreamReference
fn target(&self) -> StreamReference
Returns a reference to the stream that will be aggregated by that window.
Source§fn caller(&self) -> StreamReference
fn caller(&self) -> StreamReference
Returns a reference to the stream in which expression this window occurs.
Source§fn op(&self) -> WindowOperation
fn op(&self) -> WindowOperation
Returns the aggregation operation the window uses.
Source§fn memory_bound(&self) -> MemorizationBound
fn memory_bound(&self) -> MemorizationBound
Returns the memorization bound of the window.
impl StructuralPartialEq for InstanceAggregation
Auto Trait Implementations§
impl Freeze for InstanceAggregation
impl RefUnwindSafe for InstanceAggregation
impl Send for InstanceAggregation
impl Sync for InstanceAggregation
impl Unpin for InstanceAggregation
impl UnwindSafe for InstanceAggregation
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