pub struct CmeFixtureExpectationV0 {
pub key: String,
pub value: String,
}Expand description
One expectation section in a reusable fixture.
Fields§
§key: StringExpectation key.
value: StringExpectation text.
Implementations§
Source§impl CmeFixtureExpectationV0
impl CmeFixtureExpectationV0
Sourcepub fn kind(&self) -> CmeFixtureExpectationKindV0
pub fn kind(&self) -> CmeFixtureExpectationKindV0
Classify the expectation family without interpreting product-owned expectation payloads.
Trait Implementations§
Source§impl Clone for CmeFixtureExpectationV0
impl Clone for CmeFixtureExpectationV0
Source§fn clone(&self) -> CmeFixtureExpectationV0
fn clone(&self) -> CmeFixtureExpectationV0
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CmeFixtureExpectationV0
impl Debug for CmeFixtureExpectationV0
Source§impl PartialEq for CmeFixtureExpectationV0
impl PartialEq for CmeFixtureExpectationV0
Source§fn eq(&self, other: &CmeFixtureExpectationV0) -> bool
fn eq(&self, other: &CmeFixtureExpectationV0) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CmeFixtureExpectationV0
impl Serialize for CmeFixtureExpectationV0
impl Eq for CmeFixtureExpectationV0
impl StructuralPartialEq for CmeFixtureExpectationV0
Auto Trait Implementations§
impl Freeze for CmeFixtureExpectationV0
impl RefUnwindSafe for CmeFixtureExpectationV0
impl Send for CmeFixtureExpectationV0
impl Sync for CmeFixtureExpectationV0
impl Unpin for CmeFixtureExpectationV0
impl UnsafeUnpin for CmeFixtureExpectationV0
impl UnwindSafe for CmeFixtureExpectationV0
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