pub struct Inputs {
pub target: String,
pub cli_vars: BTreeMap<String, String>,
pub date: Option<NaiveDate>,
pub scheduled_at: Option<DateTime<Utc>>,
pub timezone: Option<String>,
pub schedule: Option<String>,
pub started_at: Option<DateTime<Utc>>,
}Expand description
What the parse pass renders run.*, var() and target.name with: the run’s inputs.
Fields§
§target: String§cli_vars: BTreeMap<String, String>--var.
date: Option<NaiveDate>DRE_RUN_DATE.
scheduled_at: Option<DateTime<Utc>>DRE_RUN_AT.
timezone: Option<String>--timezone/DRE_TIMEZONE.
schedule: Option<String>--schedule.
started_at: Option<DateTime<Utc>>When the run started (run.now without DRE_RUN_AT); None: now.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Inputs
impl RefUnwindSafe for Inputs
impl Send for Inputs
impl Sync for Inputs
impl Unpin for Inputs
impl UnsafeUnpin for Inputs
impl UnwindSafe for Inputs
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