Struct prqlc::ir::rq::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 for RelationLiteral
impl PartialEq 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 ==
.source§impl Serialize for RelationLiteral
impl Serialize for RelationLiteral
impl StructuralPartialEq for RelationLiteral
Auto Trait Implementations§
impl RefUnwindSafe for RelationLiteral
impl Send for RelationLiteral
impl Sync for RelationLiteral
impl Unpin for RelationLiteral
impl UnwindSafe for RelationLiteral
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