pub struct SourceDef {
pub name: String,
pub description: Option<String>,
pub database: Option<String>,
pub schema: Option<String>,
pub profile: Option<String>,
pub quoting: QuotingDef,
pub tags: Vec<String>,
pub meta: Map<String, Value>,
pub tables: Vec<SourceTableDef>,
pub file: PathBuf,
pub line: Option<usize>,
}Expand description
A dbt-style source: tables in one schema of one system.
Fields§
§name: String§description: Option<String>§database: Option<String>As written; database, schema, profile and table identifiers may hold Jinja.
schema: Option<String>§profile: Option<String>DRE’s addition: the connection the source lives on.
quoting: QuotingDef§meta: Map<String, Value>§tables: Vec<SourceTableDef>§file: PathBufWhere it’s declared, for messages.
line: Option<usize>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SourceDef
impl RefUnwindSafe for SourceDef
impl Send for SourceDef
impl Sync for SourceDef
impl Unpin for SourceDef
impl UnsafeUnpin for SourceDef
impl UnwindSafe for SourceDef
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