Struct google_docs1::api::UpdateSectionStyleRequest
source · pub struct UpdateSectionStyleRequest {
pub fields: Option<FieldMask>,
pub range: Option<Range>,
pub section_style: Option<SectionStyle>,
}
Expand description
Updates the SectionStyle.
This type is not used in any activity, and only used as part of another schema.
Fields§
§fields: Option<FieldMask>
The fields that should be updated. At least one field must be specified. The root section_style
is implied and must not be specified. A single "*"
can be used as short-hand for listing every field. For example to update the left margin, set fields
to "margin_left"
.
range: Option<Range>
The range overlapping the sections to style. Because section breaks can only be inserted inside the body, the segment ID field must be empty.
section_style: Option<SectionStyle>
The styles to be set on the section. Certain section style changes may cause other changes in order to mirror the behavior of the Docs editor. See the documentation of SectionStyle for more information.
Trait Implementations§
source§impl Clone for UpdateSectionStyleRequest
impl Clone for UpdateSectionStyleRequest
source§fn clone(&self) -> UpdateSectionStyleRequest
fn clone(&self) -> UpdateSectionStyleRequest
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 UpdateSectionStyleRequest
impl Debug for UpdateSectionStyleRequest
source§impl Default for UpdateSectionStyleRequest
impl Default for UpdateSectionStyleRequest
source§fn default() -> UpdateSectionStyleRequest
fn default() -> UpdateSectionStyleRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UpdateSectionStyleRequest
impl<'de> Deserialize<'de> for UpdateSectionStyleRequest
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 UpdateSectionStyleRequest
Auto Trait Implementations§
impl RefUnwindSafe for UpdateSectionStyleRequest
impl Send for UpdateSectionStyleRequest
impl Sync for UpdateSectionStyleRequest
impl Unpin for UpdateSectionStyleRequest
impl UnwindSafe for UpdateSectionStyleRequest
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