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§impl Debug for WindowOptions
impl Debug for WindowOptions
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