pub enum SqlBody {
Return(Expr),
Atomic(Vec<Query>),
}Expand description
The body in SQL of a function, as prosqlbody keeps it.
Variants§
Return(Expr)
A RETURN body: the value, with no cast to the result type.
Atomic(Vec<Query>)
A BEGIN ATOMIC body: the query of each statement.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SqlBody
impl RefUnwindSafe for SqlBody
impl Send for SqlBody
impl Sync for SqlBody
impl Unpin for SqlBody
impl UnsafeUnpin for SqlBody
impl UnwindSafe for SqlBody
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