pub struct IndexRecommendation {
pub table: String,
pub columns: Vec<String>,
pub benefit_score: f64,
pub reason: String,
}Expand description
Index recommendation from workload analysis
Fields§
§table: StringTable name
columns: Vec<String>Column(s) to index
benefit_score: f64Expected benefit score (higher = more beneficial)
reason: StringReason for recommendation
Trait Implementations§
Source§impl Clone for IndexRecommendation
impl Clone for IndexRecommendation
Source§fn clone(&self) -> IndexRecommendation
fn clone(&self) -> IndexRecommendation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for IndexRecommendation
impl RefUnwindSafe for IndexRecommendation
impl Send for IndexRecommendation
impl Sync for IndexRecommendation
impl Unpin for IndexRecommendation
impl UnsafeUnpin for IndexRecommendation
impl UnwindSafe for IndexRecommendation
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