pub struct Cte {
pub name: String,
pub columns: Option<Vec<String>>,
pub query: Box<Query>,
pub recursive: bool,
}Expand description
A Common Table Expression (CTE) - named subquery
Fields§
§name: StringName of the CTE (referenced in main query)
columns: Option<Vec<String>>Optional column names for the CTE
query: Box<Query>The subquery that defines this CTE
recursive: boolWhether this CTE is recursive
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Cte
impl<'de> Deserialize<'de> for Cte
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Cte
impl RefUnwindSafe for Cte
impl Send for Cte
impl Sync for Cte
impl Unpin for Cte
impl UnsafeUnpin for Cte
impl UnwindSafe for Cte
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