pub struct InsertPlan {Show 19 fields
pub table: String,
pub target_relation_bound: bool,
pub relations_bound: bool,
pub statement_privilege_subject: Option<String>,
pub target_privilege_subject: Option<String>,
pub target_qualifier: String,
pub include_descendants: bool,
pub columns: Vec<String>,
pub ctes: Vec<CtePlan>,
pub rows: Vec<Vec<ScalarExpr>>,
pub source: Option<Box<QueryPlan>>,
pub on_conflict: Option<ConflictPlan>,
pub returning: Vec<ProjectionPlan>,
pub returning_aliases: ReturningAliases,
pub subqueries: Vec<QueryPlan>,
pub view_checks: Vec<ViewCheckPlan>,
pub view_rule_relations: Vec<String>,
pub view_rule_insert_plans: Vec<ViewRuleInsertPlan>,
pub view_rule_returning: Option<ViewRuleReturningPlan>,
}Fields§
§table: String§target_relation_bound: bool§relations_bound: boolWhether non-target relation references are stored catalog identities rather than names that must be resolved in the executing session.
statement_privilege_subject: Option<String>Effective role used for non-target privilege checks in an internally rewritten statement.
target_privilege_subject: Option<String>Effective role used only for privilege checks on an internally rewritten target relation.
target_qualifier: String§include_descendants: bool§columns: Vec<String>§ctes: Vec<CtePlan>§rows: Vec<Vec<ScalarExpr>>§source: Option<Box<QueryPlan>>§on_conflict: Option<ConflictPlan>§returning: Vec<ProjectionPlan>§returning_aliases: ReturningAliases§subqueries: Vec<QueryPlan>§view_checks: Vec<ViewCheckPlan>§view_rule_relations: Vec<String>§view_rule_insert_plans: Vec<ViewRuleInsertPlan>§view_rule_returning: Option<ViewRuleReturningPlan>Trait Implementations§
Source§impl Clone for InsertPlan
impl Clone for InsertPlan
Source§fn clone(&self) -> InsertPlan
fn clone(&self) -> InsertPlan
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 moreSource§impl Debug for InsertPlan
impl Debug for InsertPlan
Source§impl<'de> Deserialize<'de> for InsertPlan
impl<'de> Deserialize<'de> for InsertPlan
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 InsertPlan
impl RefUnwindSafe for InsertPlan
impl Send for InsertPlan
impl Sync for InsertPlan
impl Unpin for InsertPlan
impl UnsafeUnpin for InsertPlan
impl UnwindSafe for InsertPlan
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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