pub struct CteBuilder { /* private fields */ }Implementations§
Source§impl CteBuilder
impl CteBuilder
pub fn new(id: impl AsRef<str>, body: Box<dyn QueryBody>) -> CteBuilder
pub fn body_junction(&mut self, j: SelectJunction)
pub fn field( &mut self, id: impl AsRef<str>, type_: Type, ) -> (String, String, Type)
pub fn column(self, id: impl AsRef<str>, type_: Type) -> CteBuilder
pub fn build(self) -> Cte
Trait Implementations§
Source§impl From<CteBuilder> for Cte
impl From<CteBuilder> for Cte
Source§fn from(builder: CteBuilder) -> Cte
fn from(builder: CteBuilder) -> Cte
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CteBuilder
impl !RefUnwindSafe for CteBuilder
impl !Send for CteBuilder
impl !Sync for CteBuilder
impl Unpin for CteBuilder
impl UnsafeUnpin for CteBuilder
impl !UnwindSafe for CteBuilder
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