pub struct PreparedStatementPlan {
pub logical_plan: Arc<UnifiedPlan>,
pub plan: Option<UnifiedPlan>,
pub parameter_types: Vec<Option<ColumnType>>,
pub result_schema: Option<RowSchema>,
pub source_sql: Option<Arc<str>>,
pub prepared_at_micros: i64,
pub from_sql: bool,
pub generic_plans: i64,
pub custom_plans: i64,
pub generic_cost: Option<f64>,
pub total_custom_cost: f64,
}Fields§
§logical_plan: Arc<UnifiedPlan>§plan: Option<UnifiedPlan>§parameter_types: Vec<Option<ColumnType>>§result_schema: Option<RowSchema>§source_sql: Option<Arc<str>>§prepared_at_micros: i64§from_sql: bool§generic_plans: i64§custom_plans: i64§generic_cost: Option<f64>§total_custom_cost: f64Implementations§
Source§impl PreparedStatementPlan
impl PreparedStatementPlan
pub fn metadata(&self, name: &str) -> PreparedStatementMetadata
Source§impl PreparedStatementPlan
impl PreparedStatementPlan
pub fn record_execution(&mut self, update: PreparedPlanUpdate)
Trait Implementations§
Source§impl Clone for PreparedStatementPlan
impl Clone for PreparedStatementPlan
Source§fn clone(&self) -> PreparedStatementPlan
fn clone(&self) -> PreparedStatementPlan
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 PreparedStatementPlan
impl RefUnwindSafe for PreparedStatementPlan
impl Send for PreparedStatementPlan
impl Sync for PreparedStatementPlan
impl Unpin for PreparedStatementPlan
impl UnsafeUnpin for PreparedStatementPlan
impl UnwindSafe for PreparedStatementPlan
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more