pub struct TestCaseResponse {
pub classname: String,
pub details: Option<String>,
pub id: i64,
pub message: Option<String>,
pub name: String,
pub original_name: Option<String>,
pub status: String,
pub time: f64,
pub type_: Option<String>,
}Expand description
Individual test case result.
JSON schema
{
"title": "TestCaseResponse",
"description": "Individual test case result.",
"type": "object",
"required": [
"classname",
"id",
"name",
"status",
"time"
],
"properties": {
"classname": {
"title": "Classname",
"type": "string"
},
"details": {
"title": "Details",
"type": [
"string",
"null"
]
},
"id": {
"title": "Id",
"type": "integer"
},
"message": {
"title": "Message",
"type": [
"string",
"null"
]
},
"name": {
"title": "Name",
"type": "string"
},
"original_name": {
"title": "Original Name",
"type": [
"string",
"null"
]
},
"status": {
"title": "Status",
"type": "string"
},
"time": {
"title": "Time",
"type": "number"
},
"type": {
"title": "Type",
"type": [
"string",
"null"
]
}
}
}Fields§
§classname: String§details: Option<String>§id: i64§message: Option<String>§name: String§original_name: Option<String>§status: String§time: f64§type_: Option<String>Implementations§
Source§impl TestCaseResponse
impl TestCaseResponse
pub fn builder() -> TestCaseResponse
Trait Implementations§
Source§impl Clone for TestCaseResponse
impl Clone for TestCaseResponse
Source§fn clone(&self) -> TestCaseResponse
fn clone(&self) -> TestCaseResponse
Returns a duplicate 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 TestCaseResponse
impl Debug for TestCaseResponse
Source§impl<'de> Deserialize<'de> for TestCaseResponse
impl<'de> Deserialize<'de> for TestCaseResponse
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
Source§impl From<&TestCaseResponse> for TestCaseResponse
impl From<&TestCaseResponse> for TestCaseResponse
Source§fn from(value: &TestCaseResponse) -> Self
fn from(value: &TestCaseResponse) -> Self
Converts to this type from the input type.
Source§impl From<TestCaseResponse> for TestCaseResponse
impl From<TestCaseResponse> for TestCaseResponse
Source§fn from(value: TestCaseResponse) -> Self
fn from(value: TestCaseResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for TestCaseResponse
impl Serialize for TestCaseResponse
Source§impl TryFrom<TestCaseResponse> for TestCaseResponse
impl TryFrom<TestCaseResponse> for TestCaseResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: TestCaseResponse) -> Result<Self, ConversionError>
fn try_from(value: TestCaseResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for TestCaseResponse
impl RefUnwindSafe for TestCaseResponse
impl Send for TestCaseResponse
impl Sync for TestCaseResponse
impl Unpin for TestCaseResponse
impl UnwindSafe for TestCaseResponse
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