nomad_client/models/
search_response.rs1#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15pub struct SearchResponse {
16 #[serde(rename = "Matches", skip_serializing_if = "Option::is_none")]
17 pub matches: Option<::std::collections::HashMap<String, Vec<String>>>,
18 #[serde(rename = "Truncations", skip_serializing_if = "Option::is_none")]
19 pub truncations: Option<::std::collections::HashMap<String, bool>>,
20}
21
22impl SearchResponse {
23 pub fn new() -> SearchResponse {
24 SearchResponse {
25 matches: None,
26 truncations: None,
27 }
28 }
29}
30
31