pub struct TestCase {
pub name: String,
pub code: String,
pub expression: Expression,
}Fields§
§name: String§code: String§expression: ExpressionImplementations§
Source§impl TestCase
impl TestCase
pub fn try_from_pair(pair: Pair<'_, Rule>) -> Result<Self, ModelError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TestCase
impl RefUnwindSafe for TestCase
impl Send for TestCase
impl Sync for TestCase
impl Unpin for TestCase
impl UnsafeUnpin 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