pub struct InsertRuleQueries {
pub original: Option<Box<QueryPlan>>,
pub relations: Vec<InsertPlan>,
}Fields§
§original: Option<Box<QueryPlan>>§relations: Vec<InsertPlan>Outermost view first; INSERT executes these actions in reverse order after its original query.
Implementations§
Source§impl InsertRuleQueries
impl InsertRuleQueries
pub fn bind( context: RuleAnalysisContext<'_>, insert: &InsertPlan, subjects: &dyn Fn(&str) -> Result<RoleReference, SQLError>, input_subject: &RoleReference, ) -> Result<Self, SQLError>
Auto Trait Implementations§
impl !RefUnwindSafe for InsertRuleQueries
impl !UnwindSafe for InsertRuleQueries
impl Freeze for InsertRuleQueries
impl Send for InsertRuleQueries
impl Sync for InsertRuleQueries
impl Unpin for InsertRuleQueries
impl UnsafeUnpin for InsertRuleQueries
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