Struct rtlola_frontend::mir::DiscreteWindow
source · [−]pub struct DiscreteWindow {
pub target: StreamReference,
pub caller: StreamReference,
pub duration: usize,
pub wait: bool,
pub op: WindowOperation,
pub reference: WindowReference,
pub ty: Type,
}
Expand description
Represents an instance of a discrete window
Fields
target: StreamReference
The stream whose values will be aggregated
caller: StreamReference
The stream in which expression this window occurs
duration: usize
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 discrete window
ty: Type
The type of value the window produces
Trait Implementations
sourceimpl Clone for DiscreteWindow
impl Clone for DiscreteWindow
sourcefn clone(&self) -> DiscreteWindow
fn clone(&self) -> DiscreteWindow
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DiscreteWindow
impl Debug for DiscreteWindow
sourceimpl<'de> Deserialize<'de> for DiscreteWindow
impl<'de> Deserialize<'de> for DiscreteWindow
sourcefn 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
sourceimpl PartialEq<DiscreteWindow> for DiscreteWindow
impl PartialEq<DiscreteWindow> for DiscreteWindow
sourcefn eq(&self, other: &DiscreteWindow) -> bool
fn eq(&self, other: &DiscreteWindow) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DiscreteWindow) -> bool
fn ne(&self, other: &DiscreteWindow) -> bool
This method tests for !=
.
sourceimpl Serialize for DiscreteWindow
impl Serialize for DiscreteWindow
impl Eq for DiscreteWindow
impl StructuralEq for DiscreteWindow
impl StructuralPartialEq for DiscreteWindow
Auto Trait Implementations
impl RefUnwindSafe for DiscreteWindow
impl Send for DiscreteWindow
impl Sync for DiscreteWindow
impl Unpin for DiscreteWindow
impl UnwindSafe for DiscreteWindow
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more