pub struct QueryPlan {
pub filters: Vec<Filter>,
pub search_terms: Vec<String>,
pub sort_field: String,
pub sort_order: String,
pub page: usize,
pub page_size: usize,
pub estimated_cost: f64,
pub index_used: String,
pub optimization_hints: Vec<String>,
}Expand description
Execution plan with cost estimates and optimization hints.
Fields§
§filters: Vec<Filter>§search_terms: Vec<String>§sort_field: String§sort_order: String§page: usize§page_size: usize§estimated_cost: f64§index_used: String§optimization_hints: Vec<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for QueryPlan
impl<'de> Deserialize<'de> for QueryPlan
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 QueryPlan
impl RefUnwindSafe for QueryPlan
impl Send for QueryPlan
impl Sync for QueryPlan
impl Unpin for QueryPlan
impl UnsafeUnpin for QueryPlan
impl UnwindSafe for QueryPlan
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