Struct prql_compiler::ast::pl::frame::FrameInput
source · pub struct FrameInput {
pub id: usize,
pub name: String,
pub table: Option<Ident>,
}
Fields§
§id: usize
id of the node in AST that declares this input
name: String
local name of this input within a query
table: Option<Ident>
fully qualified name of table that provides the data for this frame
None
means this is a literal and doesn’t need a table to refer to
Trait Implementations§
source§impl Clone for FrameInput
impl Clone for FrameInput
source§fn clone(&self) -> FrameInput
fn clone(&self) -> FrameInput
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 FrameInput
impl Debug for FrameInput
source§impl<'de> Deserialize<'de> for FrameInput
impl<'de> Deserialize<'de> for FrameInput
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<FrameInput> for FrameInput
impl PartialEq<FrameInput> for FrameInput
source§fn eq(&self, other: &FrameInput) -> bool
fn eq(&self, other: &FrameInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for FrameInput
impl Serialize for FrameInput
impl Eq for FrameInput
impl StructuralEq for FrameInput
impl StructuralPartialEq for FrameInput
Auto Trait Implementations§
impl RefUnwindSafe for FrameInput
impl Send for FrameInput
impl Sync for FrameInput
impl Unpin for FrameInput
impl UnwindSafe for FrameInput
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.