pub struct TestCase {
pub json: Option<Value>,
pub expect_status: fn(StatusCode),
pub expect_result: fn(Value),
}
Fields§
§json: Option<Value>
§expect_status: fn(StatusCode)
§expect_result: fn(Value)
Auto Trait Implementations§
impl Freeze for TestCase
impl RefUnwindSafe for TestCase
impl Send for TestCase
impl Sync for TestCase
impl Unpin for TestCase
impl UnwindSafe for TestCase
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