pub struct SQLViewBuilder {
pub name: String,
pub select: SQLSelectBuilder,
pub replace: bool,
}Fields§
§name: String§select: SQLSelectBuilder§replace: boolImplementations§
Source§impl SQLViewBuilder
impl SQLViewBuilder
pub fn new(name: impl Into<String>, select: SQLSelectBuilder) -> Self
pub fn or_replace(self) -> Self
pub fn build(&self) -> String
Trait Implementations§
Source§impl Clone for SQLViewBuilder
impl Clone for SQLViewBuilder
Source§fn clone(&self) -> SQLViewBuilder
fn clone(&self) -> SQLViewBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SQLViewBuilder
impl RefUnwindSafe for SQLViewBuilder
impl Send for SQLViewBuilder
impl Sync for SQLViewBuilder
impl Unpin for SQLViewBuilder
impl UnsafeUnpin for SQLViewBuilder
impl UnwindSafe for SQLViewBuilder
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