pub struct EvalStmt {
pub expr: Expr,
pub start: SystemTime,
pub end: SystemTime,
pub interval: Duration,
pub lookback_delta: Duration,
}Expand description
EvalStmt holds an expression and information on the range it should be evaluated on.
Fields§
§expr: ExprExpression to be evaluated.
start: SystemTimeThe time boundaries for the evaluation. If start equals end an instant is evaluated.
end: SystemTime§interval: DurationTime between two evaluated instants for the range [start:end].
lookback_delta: DurationLookback delta to use for this evaluation.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EvalStmt
impl !RefUnwindSafe for EvalStmt
impl Send for EvalStmt
impl Sync for EvalStmt
impl Unpin for EvalStmt
impl !UnwindSafe for EvalStmt
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)