pub struct UpdateDocumentStyleRequest {
pub document_style: Option<DocumentStyle>,
pub fields: Option<FieldMask>,
pub tab_id: Option<String>,
}Expand description
Updates the DocumentStyle.
This type is not used in any activity, and only used as part of another schema.
Fields§
§document_style: Option<DocumentStyle>The styles to set on the document. Certain document style changes may cause other changes in order to mirror the behavior of the Docs editor. See the documentation of DocumentStyle for more information.
fields: Option<FieldMask>The fields that should be updated. At least one field must be specified. The root document_style is implied and should not be specified. A single "*" can be used as short-hand for listing every field. For example to update the background, set fields to "background".
tab_id: Option<String>The tab that contains the style to update. When omitted, the request applies to the first tab. In a document containing a single tab: - If provided, must match the singular tab’s ID. - If omitted, the request applies to the singular tab. In a document containing multiple tabs: - If provided, the request applies to the specified tab. - If not provided, the request applies to the first tab in the document.
Trait Implementations§
Source§impl Clone for UpdateDocumentStyleRequest
impl Clone for UpdateDocumentStyleRequest
Source§fn clone(&self) -> UpdateDocumentStyleRequest
fn clone(&self) -> UpdateDocumentStyleRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more