pub struct RowAssertion<'a> { /* private fields */ }Expand description
Assertions for Row values
Implementations§
Source§impl<'a> RowAssertion<'a>
impl<'a> RowAssertion<'a>
Sourcepub fn has_number(&self, number: impl Into<RowNumber>) -> &Self
pub fn has_number(&self, number: impl Into<RowNumber>) -> &Self
Assert the row number
Sourcepub fn has_values(&self, expected: &[Value]) -> &Self
pub fn has_values(&self, expected: &[Value]) -> &Self
Assert the row values match (using the row’s layout)
Auto Trait Implementations§
impl<'a> Freeze for RowAssertion<'a>
impl<'a> RefUnwindSafe for RowAssertion<'a>
impl<'a> Send for RowAssertion<'a>
impl<'a> Sync for RowAssertion<'a>
impl<'a> Unpin for RowAssertion<'a>
impl<'a> UnwindSafe for RowAssertion<'a>
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