Struct prql_compiler::ast::pl::literal::RelationLiteral
source · pub struct RelationLiteral {
pub columns: Vec<String>,
pub rows: Vec<Vec<Literal>>,
}Fields§
§columns: Vec<String>Column names
rows: Vec<Vec<Literal>>Row-oriented data
Trait Implementations§
source§impl Clone for RelationLiteral
impl Clone for RelationLiteral
source§fn clone(&self) -> RelationLiteral
fn clone(&self) -> RelationLiteral
Returns a copy 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 moresource§impl Debug for RelationLiteral
impl Debug for RelationLiteral
source§impl<'de> Deserialize<'de> for RelationLiteral
impl<'de> Deserialize<'de> for RelationLiteral
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
source§impl PartialEq<RelationLiteral> for RelationLiteral
impl PartialEq<RelationLiteral> for RelationLiteral
source§fn eq(&self, other: &RelationLiteral) -> bool
fn eq(&self, other: &RelationLiteral) -> bool
This method tests for
self and other values to be equal, and is used
by ==.