pub enum WindowBinStrategy {
Lower,
Center,
Upper,
}
Available on crate feature
std
only.Expand description
How to choose the output timestamp of the window’ed function.
Variants§
Lower
The lower value of the window (min)
Center
The center value of the window (max-min)/2
Upper
The upper value of the window (max)
Trait Implementations§
Source§impl Clone for WindowBinStrategy
impl Clone for WindowBinStrategy
Source§fn clone(&self) -> WindowBinStrategy
fn clone(&self) -> WindowBinStrategy
Returns a copy 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 WindowBinStrategy
impl Debug for WindowBinStrategy
Source§impl Default for WindowBinStrategy
impl Default for WindowBinStrategy
Source§fn default() -> WindowBinStrategy
fn default() -> WindowBinStrategy
Returns the “default value” for a type. Read more
Source§impl PartialEq for WindowBinStrategy
impl PartialEq for WindowBinStrategy
impl Copy for WindowBinStrategy
impl Eq for WindowBinStrategy
impl StructuralPartialEq for WindowBinStrategy
Auto Trait Implementations§
impl Freeze for WindowBinStrategy
impl RefUnwindSafe for WindowBinStrategy
impl Send for WindowBinStrategy
impl Sync for WindowBinStrategy
impl Unpin for WindowBinStrategy
impl UnwindSafe for WindowBinStrategy
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