pub struct Expectation {
pub contains: Option<String>,
pub not_contains: Option<String>,
pub equals: Option<String>,
pub starts_with: Option<String>,
pub ends_with: Option<String>,
pub line_count: Option<usize>,
pub matches: Option<String>,
pub not_matches: Option<String>,
}Fields§
§contains: Option<String>§not_contains: Option<String>§equals: Option<String>§starts_with: Option<String>§ends_with: Option<String>§line_count: Option<usize>§matches: Option<String>§not_matches: Option<String>Trait Implementations§
Source§impl Clone for Expectation
impl Clone for Expectation
Source§fn clone(&self) -> Expectation
fn clone(&self) -> Expectation
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 Expectation
impl Debug for Expectation
Source§impl<'de> Deserialize<'de> for Expectation
impl<'de> Deserialize<'de> for Expectation
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 Expectation
impl RefUnwindSafe for Expectation
impl Send for Expectation
impl Sync for Expectation
impl Unpin for Expectation
impl UnsafeUnpin for Expectation
impl UnwindSafe for Expectation
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