pub struct SimulationConfig {
pub require_intent: bool,
pub require_authority: bool,
pub require_evidence: bool,
pub require_assertions: bool,
pub check_resource_availability: bool,
pub check_vendor_selection: bool,
}Expand description
Configuration for simulation strictness.
Fields§
§require_intent: boolRequire Intent block with at least Outcome.
Require Authority block with at least Actor.
require_evidence: boolRequire Evidence block with at least one Requires field.
require_assertions: boolRequire at least one scenario with a Then step.
check_resource_availability: boolRequire scenario Given steps to reference resources declared in Evidence.
check_vendor_selection: boolEnable vendor-selection-specific pre-flight checks when the spec appears to describe a vendor/procurement evaluation.
Trait Implementations§
Source§impl Clone for SimulationConfig
impl Clone for SimulationConfig
Source§fn clone(&self) -> SimulationConfig
fn clone(&self) -> SimulationConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 SimulationConfig
impl Debug for SimulationConfig
Auto Trait Implementations§
impl Freeze for SimulationConfig
impl RefUnwindSafe for SimulationConfig
impl Send for SimulationConfig
impl Sync for SimulationConfig
impl Unpin for SimulationConfig
impl UnsafeUnpin for SimulationConfig
impl UnwindSafe for SimulationConfig
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