pub struct PreparedRuleBatch { /* private fields */ }Implementations§
Source§impl PreparedRuleBatch
impl PreparedRuleBatch
pub fn matched_action_row_columns(&self) -> Result<RuleColumnSets<1>, SQLError>
pub fn missing_action_row_columns(&self) -> Result<RuleColumnSets<2>, SQLError>
Source§impl PreparedRuleBatch
impl PreparedRuleBatch
pub fn event_row_count(&self) -> usize
pub fn set_action_qualification_count(&mut self, count: usize)
pub fn suppresses(&self, index: usize) -> Result<bool, SQLError>
pub fn supplement_rows( &mut self, rows: Vec<RuleRowImage>, ) -> Result<(), SQLError>
pub fn supplement_rows_from_iter( &mut self, rows: impl IntoIterator<Item = Result<RuleRowImage, SQLError>>, ) -> Result<(), SQLError>
pub fn execute_actions( &self, context: RuleContext<'_>, request: RuleReturningRequest, ) -> Result<Option<RuleReturningResult>, SQLError>
pub fn execute_actions_with_affected( &self, context: RuleContext<'_>, request: RuleReturningRequest, ) -> Result<RuleExecutionOutcome, SQLError>
Auto Trait Implementations§
impl !Freeze for PreparedRuleBatch
impl !RefUnwindSafe for PreparedRuleBatch
impl !UnwindSafe for PreparedRuleBatch
impl Send for PreparedRuleBatch
impl Sync for PreparedRuleBatch
impl Unpin for PreparedRuleBatch
impl UnsafeUnpin for PreparedRuleBatch
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