pub struct Report {Show 15 fields
pub name: String,
pub description: Option<String>,
pub meta: Map<String, Value>,
pub meta_layers: Vec<MetaLayer>,
pub var_schema: Definitions,
pub managed: bool,
pub file: PathBuf,
pub folder: Vec<String>,
pub tags: Vec<String>,
pub queries: Vec<QueryEntry>,
pub default_set: Option<String>,
pub timezone: Option<String>,
pub has_sets: bool,
pub bindings: Vec<Binding>,
pub base: Binding,
}Fields§
§name: String§description: Option<String>§meta: Map<String, Value>§meta_layers: Vec<MetaLayer>§var_schema: Definitions§managed: bool§file: PathBufThe defining YAML (managed) or .sql (unmanaged), relative to the root.
folder: Vec<String>Folder under reports/ holding file, as path segments.
queries: Vec<QueryEntry>§default_set: Option<String>§timezone: Option<String>The report’s timezone:, else its folder config’s +timezone, else the project’s.
has_sets: boolWhether the report declares sets: (a Binding per Set) or runs as a single Binding.
bindings: Vec<Binding>§base: BindingReport-level resolution with no Set applied: the starting point for an ad hoc --set.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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