Struct prql_compiler::ir::rq::TableDecl
source · pub struct TableDecl {
pub id: TId,
pub name: Option<String>,
pub relation: Relation,
}
Fields§
§id: TId
An id for this table, unique within all tables in this query.
name: Option<String>
Name hint for this declaration (name of the CTE)
relation: Relation
Table’s contents.
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