1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
use serde::{Deserialize, Serialize};
#[derive(Debug, Default, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct QueryTimelineSample {
#[serde(skip_serializing_if = "Option::is_none")]
pub active_units: Option<String>,
#[serde(skip_serializing_if = "Option::is_none")]
pub completed_units: Option<String>,
#[serde(skip_serializing_if = "Option::is_none")]
pub elapsed_ms: Option<String>,
#[serde(skip_serializing_if = "Option::is_none")]
pub pending_units: Option<String>,
#[serde(skip_serializing_if = "Option::is_none")]
pub total_slot_ms: Option<String>,
}