pub struct TestCase {
pub id: i64,
pub name: String,
pub unit: String,
pub result: PassFail,
pub measurement: Option<String>,
pub metadata: Option<Metadata>,
pub suite: i64,
pub start_log_line: Option<u32>,
pub end_log_line: Option<u32>,
pub test_set: Option<i64>,
pub logged: DateTime<Utc>,
pub resource_uri: String,
}
Expand description
The data available for a test case for a Job
from the LAVA API
Fields§
§id: i64
§name: String
§unit: String
§result: PassFail
§measurement: Option<String>
§metadata: Option<Metadata>
§suite: i64
§start_log_line: Option<u32>
§end_log_line: Option<u32>
§test_set: Option<i64>
§logged: DateTime<Utc>
§resource_uri: 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