gcp_bigquery_client/model/
table_data_list_response.rs

1use serde::{Deserialize, Serialize};
2
3use crate::model::table_row::TableRow;
4
5#[derive(Debug, Default, Clone, Serialize, Deserialize)]
6#[serde(rename_all = "camelCase")]
7pub struct TableDataListResponse {
8    /// The resource type of the response.
9    #[serde(skip_serializing_if = "Option::is_none")]
10    pub kind: Option<String>,
11
12    /// Etag to the response.
13    #[serde(skip_serializing_if = "Option::is_none")]
14    pub etag: Option<String>,
15
16    /// Total rows of the entire table. In order to show default value "0", we have to present it as string.
17    #[serde(skip_serializing_if = "Option::is_none")]
18    pub total_rows: Option<String>,
19
20    /// When this field is non-empty, it indicates that additional results are available.
21    /// To request the next page of data, set the pageToken field of your next tabledata.list
22    /// call to the string returned in this field.
23    #[serde(skip_serializing_if = "Option::is_none")]
24    pub page_token: Option<String>,
25
26    /// Repeated rows as result.
27    #[serde(skip_serializing_if = "Option::is_none")]
28    pub rows: Option<Vec<TableRow>>,
29}