pub struct RuleValuesInput { /* private fields */ }Expand description
The target values and private DEFAULT flags carried by a rewritten VALUES input.
Implementations§
Source§impl RuleValuesInput
impl RuleValuesInput
Source§impl RuleValuesInput
impl RuleValuesInput
Sourcepub fn prepare_action_with_control(
context: RuleAnalysisContext<'_>,
command: MutableCommandPlan,
control: &ProductionControl<'_>,
) -> Result<MutableCommandPlan, SQLError>
pub fn prepare_action_with_control( context: RuleAnalysisContext<'_>, command: MutableCommandPlan, control: &ProductionControl<'_>, ) -> Result<MutableCommandPlan, SQLError>
Convert a VALUES action into its query input before attaching the event relation. Existing INSERT SELECT sources already own their query and remain unchanged.
Source§impl RuleValuesInput
impl RuleValuesInput
pub fn describe_with_control( insert: &InsertPlan, control: &ProductionControl<'_>, ) -> Result<Option<Produced<Self>>, SQLError>
Trait Implementations§
Source§impl Clone for RuleValuesInput
impl Clone for RuleValuesInput
Source§impl Debug for RuleValuesInput
impl Debug for RuleValuesInput
Source§impl<'de> Deserialize<'de> for RuleValuesInput
impl<'de> Deserialize<'de> for RuleValuesInput
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
Source§impl ObserveAllocations for RuleValuesInput
impl ObserveAllocations for RuleValuesInput
fn observe_allocations<'a>( &'a self, observer: &mut AllocationObserver<'a, '_>, ) -> Result<(), ValueRetentionError>
Auto Trait Implementations§
impl Freeze for RuleValuesInput
impl RefUnwindSafe for RuleValuesInput
impl Send for RuleValuesInput
impl Sync for RuleValuesInput
impl Unpin for RuleValuesInput
impl UnsafeUnpin for RuleValuesInput
impl UnwindSafe for RuleValuesInput
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