#[non_exhaustive]pub struct SqlScript {
pub engine: QueryEngine,
/* private fields */
}Expand description
Configuration for the Sql Script content.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.engine: QueryEngineRequired. Query Engine to be used for the Sql Query.
Implementations§
Source§impl SqlScript
impl SqlScript
pub fn new() -> Self
Sourcepub fn set_engine<T: Into<QueryEngine>>(self, v: T) -> Self
pub fn set_engine<T: Into<QueryEngine>>(self, v: T) -> Self
Sets the value of engine.
Trait Implementations§
impl StructuralPartialEq for SqlScript
Auto Trait Implementations§
impl Freeze for SqlScript
impl RefUnwindSafe for SqlScript
impl Send for SqlScript
impl Sync for SqlScript
impl Unpin for SqlScript
impl UnwindSafe for SqlScript
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