Struct prql_compiler::ir::decl::TableDecl
source · pub struct TableDecl {
pub ty: Option<Ty>,
pub expr: TableExpr,
}
Fields§
§ty: Option<Ty>
This will always be TyKind::Array(TyKind::Tuple)
.
It is being preparing to be merged with DeclKind::Expr.
It used to keep track of columns.
expr: TableExpr
Trait Implementations§
source§impl<'de> Deserialize<'de> for TableDecl
impl<'de> Deserialize<'de> for TableDecl
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<TableDecl, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<TableDecl, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for TableDecl
impl PartialEq for TableDecl
source§impl Serialize for TableDecl
impl Serialize for TableDecl
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for TableDecl
Auto Trait Implementations§
impl RefUnwindSafe for TableDecl
impl Send for TableDecl
impl Sync for TableDecl
impl Unpin for TableDecl
impl UnwindSafe for TableDecl
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