pub enum WritePlan {
Insert(InsertPlan),
Update(UpdatePlan),
Delete(DeletePlan),
}Expand description
A data-modifying statement.
Variants§
Implementations§
Source§impl WritePlan
impl WritePlan
Sourcepub fn required_features(&self) -> Vec<Feature>
pub fn required_features(&self) -> Vec<Feature>
Features this plan needs from a backend (deduplicated).
Sourcepub fn check(
&self,
caps: &BackendCapabilities,
) -> Result<(), BackendCapabilityError>
pub fn check( &self, caps: &BackendCapabilities, ) -> Result<(), BackendCapabilityError>
Trait Implementations§
impl StructuralPartialEq for WritePlan
Auto Trait Implementations§
impl Freeze for WritePlan
impl RefUnwindSafe for WritePlan
impl Send for WritePlan
impl Sync for WritePlan
impl Unpin for WritePlan
impl UnsafeUnpin for WritePlan
impl UnwindSafe for WritePlan
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