pub struct AdapterConfig {
pub runner: Option<String>,
pub args: Vec<String>,
pub env: HashMap<String, String>,
pub timeout: Option<u64>,
}Expand description
Per-adapter configuration overrides.
Fields§
§runner: Option<String>Override runner (e.g., “pytest” vs “unittest”)
args: Vec<String>Extra arguments for this specific adapter
env: HashMap<String, String>Environment variables specific to this adapter
timeout: Option<u64>Timeout override for this adapter
Trait Implementations§
Source§impl Clone for AdapterConfig
impl Clone for AdapterConfig
Source§fn clone(&self) -> AdapterConfig
fn clone(&self) -> AdapterConfig
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 AdapterConfig
impl Debug for AdapterConfig
Source§impl Default for AdapterConfig
impl Default for AdapterConfig
Source§fn default() -> AdapterConfig
fn default() -> AdapterConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AdapterConfigwhere
AdapterConfig: Default,
impl<'de> Deserialize<'de> for AdapterConfigwhere
AdapterConfig: Default,
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
Auto Trait Implementations§
impl Freeze for AdapterConfig
impl RefUnwindSafe for AdapterConfig
impl Send for AdapterConfig
impl Sync for AdapterConfig
impl Unpin for AdapterConfig
impl UnsafeUnpin for AdapterConfig
impl UnwindSafe for AdapterConfig
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