google-docs-api-types 0.2.6

A library crate that provides types for the Google Docs API (unofficial)
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::v1::documents::StructuralElement;

/// <https://developers.google.com/docs/api/reference/rest/v1/documents#header>
#[derive(Clone, Debug, Default, PartialEq, serde::Deserialize, serde::Serialize)]
#[serde(rename_all = "camelCase")]
pub struct Header {
    #[serde(skip_serializing_if = "Option::is_none")]
    pub header_id: Option<String>,
    #[serde(skip_serializing_if = "Option::is_none")]
    pub content: Option<Vec<StructuralElement>>,
}