pub struct UpdateParagraphStyleRequest {
pub fields: Option<FieldMask>,
pub paragraph_style: Option<ParagraphStyle>,
pub range: Option<Range>,
}
Expand description
Update the styling of all paragraphs that overlap with the given range.
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 paragraph_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 paragraph style’s alignment property, set fields
to "alignment"
. To reset a property to its default value, include its field name in the field mask but leave the field itself unset.
paragraph_style: Option<ParagraphStyle>
The styles to set on the paragraphs. Certain paragraph style changes may cause other changes in order to mirror the behavior of the Docs editor. See the documentation of ParagraphStyle for more information.
range: Option<Range>
The range overlapping the paragraphs to style.
Trait Implementations§
Source§impl Clone for UpdateParagraphStyleRequest
impl Clone for UpdateParagraphStyleRequest
Source§fn clone(&self) -> UpdateParagraphStyleRequest
fn clone(&self) -> UpdateParagraphStyleRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for UpdateParagraphStyleRequest
impl Debug for UpdateParagraphStyleRequest
Source§impl Default for UpdateParagraphStyleRequest
impl Default for UpdateParagraphStyleRequest
Source§fn default() -> UpdateParagraphStyleRequest
fn default() -> UpdateParagraphStyleRequest
Source§impl<'de> Deserialize<'de> for UpdateParagraphStyleRequest
impl<'de> Deserialize<'de> for UpdateParagraphStyleRequest
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>,
impl Part for UpdateParagraphStyleRequest
Auto Trait Implementations§
impl Freeze for UpdateParagraphStyleRequest
impl RefUnwindSafe for UpdateParagraphStyleRequest
impl Send for UpdateParagraphStyleRequest
impl Sync for UpdateParagraphStyleRequest
impl Unpin for UpdateParagraphStyleRequest
impl UnwindSafe for UpdateParagraphStyleRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more