pub struct ParsedBinding {
pub inherited: Option<String>,
pub queries: Vec<ParsedQuery>,
pub destinations: Vec<Option<String>>,
pub sources: BTreeMap<String, ResolvedSource>,
pub errors: Vec<Problem>,
pub warnings: Vec<Problem>,
}Expand description
A Binding after the parse pass.
Fields§
§inherited: Option<String>The inherited connection, rendered.
queries: Vec<ParsedQuery>§destinations: Vec<Option<String>>Each output.destination entry’s profile, rendered (None where that failed).
sources: BTreeMap<String, ResolvedSource>Every source the queries use, resolved, by source.table.
errors: Vec<Problem>§warnings: Vec<Problem>Implementations§
Source§impl ParsedBinding
impl ParsedBinding
pub fn query(&self, name: &str) -> Option<&ParsedQuery>
Sourcepub fn connections(&self) -> Vec<&str>
pub fn connections(&self) -> Vec<&str>
Every connection the queries use, in order of first use.
Sourcepub fn source_keys(&self) -> Vec<&str>
pub fn source_keys(&self) -> Vec<&str>
source.table of every source used, in order of first use.
Trait Implementations§
Source§impl Clone for ParsedBinding
impl Clone for ParsedBinding
Source§impl Debug for ParsedBinding
impl Debug for ParsedBinding
Auto Trait Implementations§
impl Freeze for ParsedBinding
impl RefUnwindSafe for ParsedBinding
impl Send for ParsedBinding
impl Sync for ParsedBinding
impl Unpin for ParsedBinding
impl UnsafeUnpin for ParsedBinding
impl UnwindSafe for ParsedBinding
Blanket Implementations§
impl<T> Allocation for T
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