pub struct TestCase {
pub name: String,
pub initial_state: String,
pub events: Vec<Event>,
pub expected_state: String,
}Expand description
テストケースを表現する構造体
Fields§
§name: Stringテストケースの名前
initial_state: String初期状態
events: Vec<Event>送信するイベントのシーケンス
expected_state: String期待される最終状態
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TestCase
impl<'de> Deserialize<'de> for TestCase
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 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