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: Expr
Expression to be evaluated.
start: SystemTime
The time boundaries for the evaluation. If start equals end an instant is evaluated.
end: SystemTime
§interval: Duration
Time between two evaluated instants for the range [start:end].
lookback_delta: Duration
Lookback 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