pub struct Table {Show 16 fields
pub name: Option<Loose<String>>,
pub identifier: Option<Loose<Text>>,
pub description: Option<Loose<Text>>,
pub quoting: Option<Loose<Quoting>>,
pub tags: Option<Loose<Tags>>,
pub meta: Option<Loose<Meta>>,
pub columns: Option<Loose<Option<Vec<Loose<Column>>>>>,
pub loaded_at_field: Option<IgnoredAny>,
pub loaded_at_query: Option<IgnoredAny>,
pub tests: Option<IgnoredAny>,
pub data_tests: Option<IgnoredAny>,
pub freshness: Option<IgnoredAny>,
pub external: Option<IgnoredAny>,
pub config: Option<IgnoredAny>,
pub docs: Option<IgnoredAny>,
pub unknown: UnknownKeys,
}Expand description
One table of the source.
Fields§
§name: Option<Loose<String>>The name source() uses.
identifier: Option<Loose<Text>>The real table name, when it differs from name. May use Jinja with var(), env_var(), run.* and target.name.
description: Option<Loose<Text>>What the table holds.
quoting: Option<Loose<Quoting>>§meta: Option<Loose<Meta>>§columns: Option<Loose<Option<Vec<Loose<Column>>>>>Declared columns, checked by dre validate --live.
loaded_at_field: Option<IgnoredAny>A dbt key DRE accepts but doesn’t use yet (noted by dre validate).
loaded_at_query: Option<IgnoredAny>A dbt key DRE accepts but doesn’t use yet (noted by dre validate).
tests: Option<IgnoredAny>A dbt key DRE accepts but doesn’t use yet (noted by dre validate).
data_tests: Option<IgnoredAny>A dbt key DRE accepts but doesn’t use yet (noted by dre validate).
freshness: Option<IgnoredAny>A dbt key DRE accepts but doesn’t use yet (noted by dre validate).
external: Option<IgnoredAny>A dbt key DRE accepts but doesn’t use yet (noted by dre validate).
config: Option<IgnoredAny>A dbt key DRE accepts but doesn’t use yet (noted by dre validate).
docs: Option<IgnoredAny>A dbt key DRE accepts but doesn’t use yet (noted by dre validate).
unknown: UnknownKeysImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Table
impl<'de> Deserialize<'de> for Table
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>,
Source§impl JsonSchema for Table
impl JsonSchema for Table
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more