pub struct Binding {
pub set: Option<String>,
pub profile: Option<String>,
pub vars: Map<String, Value>,
pub queries: Vec<QueryEntry>,
pub output: Output,
pub schedules: Vec<String>,
pub parsed: Option<Arc<ParsedBinding>>,
pub profile_at: Option<ProfileAt>,
}Expand description
A Report paired with a Set (or the report’s single default Binding): everything a run needs.
Fields§
§set: Option<String>The Set name; None for a report without sets:.
profile: Option<String>The inherited connection (Set, report, folder +profile, default_profile), as
written: it may hold Jinja. A query’s own profile: or a source’s overrides it.
vars: Map<String, Value>Fully merged vars: project < folders < report < Set registry < inline Binding.
queries: Vec<QueryEntry>§output: Output§schedules: Vec<String>Names of every schedules.yml entry that runs this Binding.
parsed: Option<Arc<ParsedBinding>>The parse pass for the load’s inputs: each query’s connection and sources. None until
the project is loaded, and for an ad hoc Binding.
profile_at: Option<ProfileAt>Where the inherited profile is written, for messages about its value.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Binding
impl RefUnwindSafe for Binding
impl Send for Binding
impl Sync for Binding
impl Unpin for Binding
impl UnsafeUnpin for Binding
impl UnwindSafe for Binding
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