pub struct Vector {
pub name: String,
pub args: Vec<Value>,
pub expect: Option<Value>,
}Expand description
One case: what to pass, and what should come back.
Fields§
§name: StringWhat this case is called, so a failure can be talked about.
args: Vec<Value>The arguments, in declaration order.
expect: Option<Value>What should come back.
Left out, the proofs are compared against each other instead. That is worth doing on its own: it finds a disagreement without anyone having to work out the right answer first.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Vector
impl<'de> Deserialize<'de> for Vector
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 Vector
impl RefUnwindSafe for Vector
impl Send for Vector
impl Sync for Vector
impl Unpin for Vector
impl UnsafeUnpin for Vector
impl UnwindSafe for Vector
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