pub struct RunOptions {Show 17 fields
pub selector: Option<String>,
pub set: Option<String>,
pub target: Option<String>,
pub profile: Option<String>,
pub vars: BTreeMap<String, String>,
pub output_name: Option<String>,
pub output_path: Option<String>,
pub dry_run: bool,
pub preview: Option<u64>,
pub accept_schema_change: bool,
pub interactive: bool,
pub date: Option<NaiveDate>,
pub scheduled_at: Option<DateTime<Utc>>,
pub live_check: bool,
pub schedule: Option<String>,
pub timezone: Option<String>,
pub manifest_checksum: Option<String>,
}Expand description
What the caller asked for.
Fields§
§selector: Option<String>§set: Option<String>--set <name> or --set all.
target: Option<String>--target as given; the run’s target is Project::target_name.
profile: Option<String>--profile: the inherited connection, for every Binding.
vars: BTreeMap<String, String>§output_name: Option<String>§output_path: Option<String>§dry_run: bool§preview: Option<u64>--preview [N]: row limit per query.
accept_schema_change: bool§interactive: boolWhether a person is at a terminal to answer prompts.
date: Option<NaiveDate>run.date (DRE_RUN_DATE).
scheduled_at: Option<DateTime<Utc>>The instant this run was scheduled for (DRE_RUN_AT): run.now and run.scheduled_at,
and run.date in the run’s timezone unless date is set.
live_check: boolvalidate --live: check statements instead of executing them.
schedule: Option<String>--schedule <name>: run exactly the Bindings that schedule targets, with its vars.
timezone: Option<String>--timezone or DRE_TIMEZONE: above every configured timezone:.
manifest_checksum: Option<String>SHA-256 of the manifest this command wrote, for run_results.json.
Implementations§
Trait Implementations§
Source§impl Clone for RunOptions
impl Clone for RunOptions
Source§impl Debug for RunOptions
impl Debug for RunOptions
Auto Trait Implementations§
impl Freeze for RunOptions
impl RefUnwindSafe for RunOptions
impl Send for RunOptions
impl Sync for RunOptions
impl Unpin for RunOptions
impl UnsafeUnpin for RunOptions
impl UnwindSafe for RunOptions
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