pub struct VerifierConfig {
pub steps: HashMap<String, String>,
pub assertions: HashMap<String, String>,
pub agent_runners: HashMap<String, String>,
pub execution_modes: HashMap<String, String>,
pub reporters: HashMap<String, String>,
pub screen_renderers: HashMap<String, String>,
pub video_backends: HashMap<String, String>,
pub session_backend: String,
pub docker: DockerBackendConfig,
pub defaults: GlobalDefaults,
pub extension: HashMap<String, Value>,
}Expand description
Typed verifier configuration.
Fields§
§steps: HashMap<String, String>Step plugin map: action name → module:Class.
assertions: HashMap<String, String>Assertion plugin map: type name → module:Class.
agent_runners: HashMap<String, String>Agent runner plugins.
execution_modes: HashMap<String, String>Execution mode plugins.
reporters: HashMap<String, String>Reporter plugins.
screen_renderers: HashMap<String, String>Screen renderer plugins.
video_backends: HashMap<String, String>Video backend plugins.
session_backend: StringSession backend plugin identifier.
docker: DockerBackendConfigDocker backend configuration.
defaults: GlobalDefaultsGlobal defaults.
extension: HashMap<String, Value>Extension map for unknown top-level keys.
Implementations§
Source§impl VerifierConfig
impl VerifierConfig
Sourcepub fn load(
project_path: Option<&Path>,
user_path: Option<&Path>,
config_path: Option<&Path>,
) -> Result<Self, CoreError>
pub fn load( project_path: Option<&Path>, user_path: Option<&Path>, config_path: Option<&Path>, ) -> Result<Self, CoreError>
Load configuration with full cascading precedence.
When user_path is Some, exactly that file is used for user config
and implicit user-location discovery is skipped (mirrors Python
load_config(user_path=...)). When config_path is Some, it is
applied last and wins.
Trait Implementations§
Source§impl Clone for VerifierConfig
impl Clone for VerifierConfig
Source§impl Debug for VerifierConfig
impl Debug for VerifierConfig
Source§impl Default for VerifierConfig
impl Default for VerifierConfig
Source§impl<'de> Deserialize<'de> for VerifierConfig
impl<'de> Deserialize<'de> for VerifierConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for VerifierConfig
impl JsonSchema for VerifierConfig
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for VerifierConfig
impl PartialEq for VerifierConfig
Source§impl Serialize for VerifierConfig
impl Serialize for VerifierConfig
impl StructuralPartialEq for VerifierConfig
Auto Trait Implementations§
impl Freeze for VerifierConfig
impl RefUnwindSafe for VerifierConfig
impl Send for VerifierConfig
impl Sync for VerifierConfig
impl Unpin for VerifierConfig
impl UnsafeUnpin for VerifierConfig
impl UnwindSafe for VerifierConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.