pub struct LoadOptions {
pub profiles_dir: Option<PathBuf>,
pub target: Option<String>,
pub date: Option<NaiveDate>,
pub scheduled_at: Option<DateTime<Utc>>,
pub timezone: Option<String>,
pub vars: BTreeMap<String, String>,
pub target_path: Option<String>,
}Fields§
§profiles_dir: Option<PathBuf>--profiles-dir; falls back to DRE_PROFILES_DIR, the project directory, then ~/.dre.
target: Option<String>--target, above DRE_TARGET: the run’s target, and every profile’s entry.
date: Option<NaiveDate>DRE_RUN_DATE, DRE_RUN_AT and --timezone/DRE_TIMEZONE: the parse pass renders
run.* as the run will.
scheduled_at: Option<DateTime<Utc>>§timezone: Option<String>§vars: BTreeMap<String, String>--var name=value, the top of every var() chain.
target_path: Option<String>--target-path, above DRE_TARGET_PATH and target_path:.
Trait Implementations§
Source§impl Clone for LoadOptions
impl Clone for LoadOptions
Source§impl Debug for LoadOptions
impl Debug for LoadOptions
Auto Trait Implementations§
impl Freeze for LoadOptions
impl RefUnwindSafe for LoadOptions
impl Send for LoadOptions
impl Sync for LoadOptions
impl Unpin for LoadOptions
impl UnsafeUnpin for LoadOptions
impl UnwindSafe for LoadOptions
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