pub struct WatermarkPolicy {
pub allowed_lateness: Duration,
}Expand description
Policy that defines how to compute watermarks. watermark = max_observed_event_time - allowed_lateness
Fields§
§allowed_lateness: DurationImplementations§
Trait Implementations§
Source§impl Clone for WatermarkPolicy
impl Clone for WatermarkPolicy
Source§fn clone(&self) -> WatermarkPolicy
fn clone(&self) -> WatermarkPolicy
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 WatermarkPolicy
impl Debug for WatermarkPolicy
impl Copy for WatermarkPolicy
Auto Trait Implementations§
impl Freeze for WatermarkPolicy
impl RefUnwindSafe for WatermarkPolicy
impl Send for WatermarkPolicy
impl Sync for WatermarkPolicy
impl Unpin for WatermarkPolicy
impl UnwindSafe for WatermarkPolicy
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