pub struct MergePlan {Show 15 fields
pub ctes: Vec<CtePlan>,
pub target: String,
pub statement_privilege_subject: Option<String>,
pub target_privilege_subject: Option<String>,
pub target_qualifier: String,
pub target_alias: Option<String>,
pub include_descendants: bool,
pub target_predicate: Option<ScalarExpr>,
pub source: Box<SourcePlan>,
pub join_condition: ScalarExpr,
pub when_clauses: Vec<MergeWhenPlan>,
pub returning: Vec<ProjectionPlan>,
pub returning_aliases: ReturningAliases,
pub subqueries: Vec<QueryPlan>,
pub view_checks: Vec<ViewCheckPlan>,
}Fields§
§ctes: Vec<CtePlan>§target: String§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§target_alias: Option<String>§include_descendants: bool§target_predicate: Option<ScalarExpr>§source: Box<SourcePlan>§join_condition: ScalarExpr§when_clauses: Vec<MergeWhenPlan>§returning: Vec<ProjectionPlan>§returning_aliases: ReturningAliases§subqueries: Vec<QueryPlan>§view_checks: Vec<ViewCheckPlan>Trait Implementations§
Source§impl<'de> Deserialize<'de> for MergePlan
impl<'de> Deserialize<'de> for MergePlan
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 MergePlan
impl RefUnwindSafe for MergePlan
impl Send for MergePlan
impl Sync for MergePlan
impl Unpin for MergePlan
impl UnsafeUnpin for MergePlan
impl UnwindSafe for MergePlan
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