evg_api_rs/models/
test.rs

1use chrono::{DateTime, Utc};
2use serde::Deserialize;
3
4#[derive(Debug, Deserialize)]
5pub struct TestLog {
6    pub url: String,
7    pub line_num: u32,
8    pub url_raw: String,
9    pub log_id: Option<String>,
10    pub url_raw_display: Option<String>,
11    pub url_html_display: Option<String>,
12}
13
14#[derive(Debug, Deserialize)]
15pub struct EvgTest {
16    pub task_id: String,
17    pub status: String,
18    pub test_file: String,
19    pub exit_code: u16,
20    pub start_time: DateTime<Utc>,
21    pub end_time: DateTime<Utc>,
22    pub logs: TestLog,
23    pub duration: f64,
24}