pub struct Folder {
pub meta: Option<Located<Loose<Map<String, Value>>>>,
pub tags: Option<Located<Loose<Vec<String>>>>,
pub output: Option<Located<Loose<Map<String, Value>>>>,
pub profile: Option<Located<Loose<String>>>,
pub schedule: Option<Located<IgnoredAny>>,
pub vars: Option<Located<Loose<Map<String, Value>>>>,
pub timezone: Option<Located<Loose<String>>>,
pub locale: Option<Located<Loose<String>>>,
pub rest: Map<Located<Loose<Folder>>>,
}Expand description
Settings for every report in this folder and the folders below it. Keys starting with + are settings; any other key is a subfolder.
Fields§
§meta: Option<Located<Loose<Map<String, Value>>>>Metadata for external tools, preserved as a layer with its configuration origin.
Tags added to every report in the folder.
output: Option<Located<Loose<Map<String, Value>>>>Output settings every report in the folder starts from; a report’s own keys win.
profile: Option<Located<Loose<String>>>The connection for reports in the folder. May use Jinja with var(), env_var(), run.* and target.name.
schedule: Option<Located<IgnoredAny>>Removed: schedules live in schedules.yml. Read only to say so.
vars: Option<Located<Loose<Map<String, Value>>>>Variables, read in SQL and YAML with var('name'). Values can be strings, numbers, booleans, lists or maps.
timezone: Option<Located<Loose<String>>>The timezone run.date and run.now use, an IANA name such as Australia/Sydney. Default: UTC.
locale: Option<Located<Loose<String>>>The locale: for reports in this folder; a report’s own wins. See locale in dre_project.yml.
rest: Map<Located<Loose<Folder>>>Subfolders by name, and + keys that aren’t settings.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Folder
impl<'de> Deserialize<'de> for Folder
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 Folder
impl JsonSchema for Folder
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