pub struct WindowConfig {
pub late_data_policy: LateDataPolicy,
pub allowed_lateness: Duration,
}Expand description
Configuration for window operations.
Fields§
§late_data_policy: LateDataPolicyPolicy for handling late data.
allowed_lateness: DurationAllowed lateness for elements.
Implementations§
Source§impl WindowConfig
impl WindowConfig
Sourcepub fn with_late_data_policy(self, policy: LateDataPolicy) -> Self
pub fn with_late_data_policy(self, policy: LateDataPolicy) -> Self
Sets the late data policy.
Sourcepub fn with_allowed_lateness(self, lateness: Duration) -> Self
pub fn with_allowed_lateness(self, lateness: Duration) -> Self
Sets the allowed lateness.
Trait Implementations§
Source§impl Clone for WindowConfig
impl Clone for WindowConfig
Source§fn clone(&self) -> WindowConfig
fn clone(&self) -> WindowConfig
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 WindowConfig
impl Debug for WindowConfig
Auto Trait Implementations§
impl Freeze for WindowConfig
impl RefUnwindSafe for WindowConfig
impl Send for WindowConfig
impl Sync for WindowConfig
impl Unpin for WindowConfig
impl UnwindSafe for WindowConfig
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