Struct google_docs1::api::UpdateDocumentStyleRequest
source · pub struct UpdateDocumentStyleRequest {
pub document_style: Option<DocumentStyle>,
pub fields: Option<FieldMask>,
}
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"
.
Trait Implementations§
source§impl Clone for UpdateDocumentStyleRequest
impl Clone for UpdateDocumentStyleRequest
source§fn clone(&self) -> UpdateDocumentStyleRequest
fn clone(&self) -> UpdateDocumentStyleRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UpdateDocumentStyleRequest
impl Debug for UpdateDocumentStyleRequest
source§impl Default for UpdateDocumentStyleRequest
impl Default for UpdateDocumentStyleRequest
source§fn default() -> UpdateDocumentStyleRequest
fn default() -> UpdateDocumentStyleRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UpdateDocumentStyleRequest
impl<'de> Deserialize<'de> for UpdateDocumentStyleRequest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for UpdateDocumentStyleRequest
Auto Trait Implementations§
impl RefUnwindSafe for UpdateDocumentStyleRequest
impl Send for UpdateDocumentStyleRequest
impl Sync for UpdateDocumentStyleRequest
impl Unpin for UpdateDocumentStyleRequest
impl UnwindSafe for UpdateDocumentStyleRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more