pub struct TumblingWindowConfig {
pub size: Duration,
pub offset: Duration,
}Expand description
Configuration for tumbling windows.
Fields§
§size: DurationWindow size
offset: DurationWindow offset (for alignment)
Implementations§
Trait Implementations§
Source§impl Clone for TumblingWindowConfig
impl Clone for TumblingWindowConfig
Source§fn clone(&self) -> TumblingWindowConfig
fn clone(&self) -> TumblingWindowConfig
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 TumblingWindowConfig
impl Debug for TumblingWindowConfig
Source§impl<'de> Deserialize<'de> for TumblingWindowConfig
impl<'de> Deserialize<'de> for TumblingWindowConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TumblingWindowConfig
impl RefUnwindSafe for TumblingWindowConfig
impl Send for TumblingWindowConfig
impl Sync for TumblingWindowConfig
impl Unpin for TumblingWindowConfig
impl UnsafeUnpin for TumblingWindowConfig
impl UnwindSafe for TumblingWindowConfig
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