pub struct PreparedStatementMetadata {
pub name: String,
pub parameter_types: Vec<Option<ColumnType>>,
pub result_types: Option<Vec<Option<ColumnType>>>,
pub source_sql: Option<Arc<str>>,
pub prepared_at_micros: i64,
pub from_sql: bool,
pub generic_plans: i64,
pub custom_plans: i64,
}Expand description
Session catalog data without executable plans or planner ownership.
Fields§
§name: String§parameter_types: Vec<Option<ColumnType>>§result_types: Option<Vec<Option<ColumnType>>>§source_sql: Option<Arc<str>>§prepared_at_micros: i64§from_sql: bool§generic_plans: i64§custom_plans: i64Auto Trait Implementations§
impl Freeze for PreparedStatementMetadata
impl RefUnwindSafe for PreparedStatementMetadata
impl Send for PreparedStatementMetadata
impl Sync for PreparedStatementMetadata
impl Unpin for PreparedStatementMetadata
impl UnsafeUnpin for PreparedStatementMetadata
impl UnwindSafe for PreparedStatementMetadata
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
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