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
use crate::v1::documents::OptionalColor;

/// <https://developers.google.com/docs/api/reference/rest/v1/documents#shading>
#[derive(Clone, Debug, Default, PartialEq, serde::Deserialize, serde::Serialize)]
#[serde(rename_all = "camelCase")]
pub struct Shading {
    #[serde(skip_serializing_if = "Option::is_none")]
    pub background_color: Option<OptionalColor>,
}