pub struct TestSuiteResponse {
pub errors: i64,
pub failures: i64,
pub id: i64,
pub name: String,
pub skipped: i64,
pub test_cases: Vec<TestCaseResponse>,
pub tests: i64,
pub time: f64,
}Expand description
Test suite (file or class) with test cases.
JSON schema
{
"title": "TestSuiteResponse",
"description": "Test suite (file or class) with test cases.",
"type": "object",
"required": [
"errors",
"failures",
"id",
"name",
"skipped",
"test_cases",
"tests",
"time"
],
"properties": {
"errors": {
"title": "Errors",
"type": "integer"
},
"failures": {
"title": "Failures",
"type": "integer"
},
"id": {
"title": "Id",
"type": "integer"
},
"name": {
"title": "Name",
"type": "string"
},
"skipped": {
"title": "Skipped",
"type": "integer"
},
"test_cases": {
"title": "Test Cases",
"type": "array",
"items": {
"$ref": "#/components/schemas/TestCaseResponse"
}
},
"tests": {
"title": "Tests",
"type": "integer"
},
"time": {
"title": "Time",
"type": "number"
}
}
}Fields§
§errors: i64§failures: i64§id: i64§name: String§skipped: i64§test_cases: Vec<TestCaseResponse>§tests: i64§time: f64Implementations§
Source§impl TestSuiteResponse
impl TestSuiteResponse
pub fn builder() -> TestSuiteResponse
Trait Implementations§
Source§impl Clone for TestSuiteResponse
impl Clone for TestSuiteResponse
Source§fn clone(&self) -> TestSuiteResponse
fn clone(&self) -> TestSuiteResponse
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 TestSuiteResponse
impl Debug for TestSuiteResponse
Source§impl<'de> Deserialize<'de> for TestSuiteResponse
impl<'de> Deserialize<'de> for TestSuiteResponse
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<&TestSuiteResponse> for TestSuiteResponse
impl From<&TestSuiteResponse> for TestSuiteResponse
Source§fn from(value: &TestSuiteResponse) -> Self
fn from(value: &TestSuiteResponse) -> Self
Converts to this type from the input type.
Source§impl From<TestSuiteResponse> for TestSuiteResponse
impl From<TestSuiteResponse> for TestSuiteResponse
Source§fn from(value: TestSuiteResponse) -> Self
fn from(value: TestSuiteResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for TestSuiteResponse
impl Serialize for TestSuiteResponse
Source§impl TryFrom<TestSuiteResponse> for TestSuiteResponse
impl TryFrom<TestSuiteResponse> for TestSuiteResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: TestSuiteResponse) -> Result<Self, ConversionError>
fn try_from(value: TestSuiteResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for TestSuiteResponse
impl RefUnwindSafe for TestSuiteResponse
impl Send for TestSuiteResponse
impl Sync for TestSuiteResponse
impl Unpin for TestSuiteResponse
impl UnwindSafe for TestSuiteResponse
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