pub struct Plan {
pub database: String,
pub table: String,
pub projection: Projection,
pub time_filter: Option<(CmpOp, i128)>,
pub order_desc: Option<bool>,
pub limit: Option<usize>,
}Expand description
A parsed, executable query plan.
Fields§
§database: String§table: String§projection: Projection§time_filter: Option<(CmpOp, i128)>(op, threshold_nanos) derived from WHERE time <op> ago(...).
order_desc: Option<bool>Some(true) = ORDER BY time DESC, Some(false) = ASC.
limit: Option<usize>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Plan
impl RefUnwindSafe for Plan
impl Send for Plan
impl Sync for Plan
impl Unpin for Plan
impl UnsafeUnpin for Plan
impl UnwindSafe for Plan
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