pub struct ValidateTarget {
pub date: Option<NaiveDate>,
pub run_id: Option<String>,
pub prefix_override: Option<String>,
}Expand description
Re-targeting overrides for rivet validate.
Default (ValidateTarget::default()) reproduces the v0.7.1 behaviour:
resolve {date} against today’s UTC date, with no {run_id}
substitution, and use the config’s destination prefix/path unchanged.
Fields§
§date: Option<NaiveDate>--date YYYY-MM-DD — override the date used for {date}.
run_id: Option<String>--run-id RID — substitute {run_id} in the destination template.
prefix_override: Option<String>--prefix STRING — bypass placeholder resolution entirely and
verify exactly this prefix. Replaces both prefix and path.
Trait Implementations§
Source§impl Clone for ValidateTarget
impl Clone for ValidateTarget
Source§fn clone(&self) -> ValidateTarget
fn clone(&self) -> ValidateTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ValidateTarget
impl Debug for ValidateTarget
Source§impl Default for ValidateTarget
impl Default for ValidateTarget
Source§fn default() -> ValidateTarget
fn default() -> ValidateTarget
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ValidateTarget
impl RefUnwindSafe for ValidateTarget
impl Send for ValidateTarget
impl Sync for ValidateTarget
impl Unpin for ValidateTarget
impl UnsafeUnpin for ValidateTarget
impl UnwindSafe for ValidateTarget
Blanket Implementations§
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