Struct wick_config::v1::TestConfiguration
source · pub struct TestConfiguration {
pub name: Option<String>,
pub with: Option<HashMap<String, LiquidJsonValue>>,
pub cases: Vec<TestDefinition>,
}Expand description
A configuration for a Wick Component
Fields§
§name: Option<String>The name of this component.
with: Option<HashMap<String, LiquidJsonValue>>Configuration used to instantiate this component.
cases: Vec<TestDefinition>Unit tests to run against components and operations.
Trait Implementations§
source§impl Clone for TestConfiguration
impl Clone for TestConfiguration
source§fn clone(&self) -> TestConfiguration
fn clone(&self) -> TestConfiguration
Returns a copy 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 TestConfiguration
impl Debug for TestConfiguration
source§impl<'de> Deserialize<'de> for TestConfiguration
impl<'de> Deserialize<'de> for TestConfiguration
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 PartialEq<TestConfiguration> for TestConfiguration
impl PartialEq<TestConfiguration> for TestConfiguration
source§fn eq(&self, other: &TestConfiguration) -> bool
fn eq(&self, other: &TestConfiguration) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for TestConfiguration
impl Serialize for TestConfiguration
source§impl TryFrom<TestConfiguration> for TestConfiguration
impl TryFrom<TestConfiguration> for TestConfiguration
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§impl TryFrom<TestConfiguration> for TestConfiguration
impl TryFrom<TestConfiguration> for TestConfiguration
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
impl StructuralPartialEq for TestConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for TestConfiguration
impl Send for TestConfiguration
impl Sync for TestConfiguration
impl Unpin for TestConfiguration
impl UnwindSafe for TestConfiguration
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