pub struct WindowOptions {
pub aggregations: Option<BTreeMap<String, String>>,
pub output_topic: Option<String>,
pub trigger: Option<Value>,
}Expand description
Options for StreamBuilder::window.
Fields§
§aggregations: Option<BTreeMap<String, String>>Map of output-field → aggregator-string (use aggs for the right-hand side).
output_topic: Option<String>Override for where window results go.
trigger: Option<Value>Server-side trigger config (passed through opaquely).
Trait Implementations§
Source§impl Clone for WindowOptions
impl Clone for WindowOptions
Source§fn clone(&self) -> WindowOptions
fn clone(&self) -> WindowOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WindowOptions
impl Debug for WindowOptions
Source§impl Default for WindowOptions
impl Default for WindowOptions
Source§fn default() -> WindowOptions
fn default() -> WindowOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WindowOptions
impl RefUnwindSafe for WindowOptions
impl Send for WindowOptions
impl Sync for WindowOptions
impl Unpin for WindowOptions
impl UnsafeUnpin for WindowOptions
impl UnwindSafe for WindowOptions
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