Struct cargo_gazelle::config::TestConfig
source · 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