pub struct StreamConfig {
pub buffer_size: usize,
pub window_duration: Duration,
pub max_events_per_window: usize,
pub max_windows: usize,
pub window_type: WindowType,
pub analytics_cache_ttl_ms: u64,
pub processing_interval: Duration,
}Expand description
Configuration for stream rule engine
Fields§
§buffer_size: usizeBuffer size for incoming events
window_duration: DurationWindow duration for aggregations
max_events_per_window: usizeMaximum events per window
max_windows: usizeMaximum number of windows to keep
window_type: WindowTypeWindow type (sliding, tumbling, etc.)
analytics_cache_ttl_ms: u64Cache TTL for analytics
processing_interval: DurationProcessing interval for rule evaluation
Trait Implementations§
Source§impl Clone for StreamConfig
impl Clone for StreamConfig
Source§fn clone(&self) -> StreamConfig
fn clone(&self) -> StreamConfig
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 StreamConfig
impl Debug for StreamConfig
Auto Trait Implementations§
impl Freeze for StreamConfig
impl RefUnwindSafe for StreamConfig
impl Send for StreamConfig
impl Sync for StreamConfig
impl Unpin for StreamConfig
impl UnwindSafe for StreamConfig
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