Struct rtlola_frontend::mir::SlidingWindow [−][src]
pub struct SlidingWindow { pub target: StreamReference, pub caller: StreamReference, pub duration: Duration, pub wait: bool, pub op: WindowOperation, pub reference: WindowReference, pub ty: Type, }
Expand description
Represents an instance of a sliding window
Fields
target: StreamReference
The stream whose values will be aggregated
caller: StreamReference
The stream in which expression this window occurs
duration: Duration
The duration over which the window aggregates
wait: bool
Indicates whether or not the first aggregated value will be produced immediately or whether the window waits until duration
has passed at least once
op: WindowOperation
The aggregation operation
reference: WindowReference
A reference to this sliding window
ty: Type
The type of value the window produces
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SlidingWindow
impl Send for SlidingWindow
impl Sync for SlidingWindow
impl Unpin for SlidingWindow
impl UnwindSafe for SlidingWindow
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
type Output = T
type Output = T
Should always be Self