pub struct TestConfig {
common: CommonConfig,
size: Option<RustTestSize>,
env: BTreeMap<String, String>,
}
Expand description
Extra configuration for a RustTest
target.
Fields§
§common: CommonConfig
§size: Option<RustTestSize>
“size” of the test target, this defines how many resources Bazel provides to the test.
env: BTreeMap<String, String>
Set of environment variables to set when the test is executed.
Implementations§
Source§impl TestConfig
impl TestConfig
Trait Implementations§
Source§impl Debug for TestConfig
impl Debug for TestConfig
Source§impl Default for TestConfig
impl Default for TestConfig
Source§fn default() -> TestConfig
fn default() -> TestConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TestConfig
impl<'de> Deserialize<'de> for TestConfig
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 TestConfig
impl RefUnwindSafe for TestConfig
impl Send for TestConfig
impl Sync for TestConfig
impl Unpin for TestConfig
impl UnwindSafe for TestConfig
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