pub enum Ret {
None,
Str(String),
Statement(Statement),
Bool(bool),
Strings(Vec<String>),
InsertBody(String, Vec<Value>),
Condition(Option<Condition>),
Placement(Placement),
Values(Vec<Value>),
Columns(Vec<ArrayKey>),
Select(Box<Select>),
}Expand description
What a Step returns.
Variants§
None
void.
Str(String)
A string.
Statement(Statement)
A Statement.
Bool(bool)
A bool.
Strings(Vec<String>)
A list of strings.
InsertBody(String, Vec<Value>)
compileInsertBody()’s SQL and bindings.
Condition(Option<Condition>)
A ?Condition.
Placement(Placement)
A Hook\Join\Placement.
Values(Vec<Value>)
A list of values.
Columns(Vec<ArrayKey>)
Column names.
Select(Box<Select>)
A parsed statement.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Ret
impl !UnwindSafe for Ret
impl Forget for Ret
impl Freeze for Ret
impl Move for Ret
impl Send for Ret
impl Sync for Ret
impl Unpin for Ret
impl UnsafeUnpin for Ret
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