pub struct TestResult {
pub test_name: String,
pub success: bool,
pub actual_state: String,
pub expected_state: String,
pub error_message: Option<String>,
}Expand description
テスト実行結果を表す構造体
Fields§
§test_name: Stringテストケースの名前
success: boolテストが成功したかどうか
actual_state: String実際の最終状態
expected_state: String期待された最終状態
error_message: Option<String>エラーメッセージ(失敗時)
Trait Implementations§
Source§impl Clone for TestResult
impl Clone for TestResult
Source§fn clone(&self) -> TestResult
fn clone(&self) -> TestResult
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TestResult
impl Debug for TestResult
Source§impl<'de> Deserialize<'de> for TestResult
impl<'de> Deserialize<'de> for TestResult
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 TestResult
impl RefUnwindSafe for TestResult
impl Send for TestResult
impl Sync for TestResult
impl Unpin for TestResult
impl UnwindSafe for TestResult
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