pub struct TestResultData {
pub file: String,
pub success: bool,
pub message: Option<String>,
}Expand description
测试结果数据
Fields§
§file: String测试文件路径
success: bool是否测试通过
message: Option<String>测试消息(如果有)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TestResultData
impl RefUnwindSafe for TestResultData
impl Send for TestResultData
impl Sync for TestResultData
impl Unpin for TestResultData
impl UnsafeUnpin for TestResultData
impl UnwindSafe for TestResultData
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