[][src]Struct google_docs1::UpdateTextStyleRequest

pub struct UpdateTextStyleRequest {
    pub fields: Option<String>,
    pub range: Option<Range>,
    pub text_style: Option<TextStyle>,
}

Update the styling of text.

This type is not used in any activity, and only used as part of another schema.

Fields

fields: Option<String>

The fields that should be updated.

At least one field must be specified. The root text_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 text style to bold, set fields to "bold".

To reset a property to its default value, include its field name in the field mask but leave the field itself unset.

range: Option<Range>

The range of text to style.

The range may be extended to include adjacent newlines.

If the range fully contains a paragraph belonging to a list, the paragraph's bullet is also updated with the matching text style.

text_style: Option<TextStyle>

The styles to set on the text.

If the value for a particular style matches that of the parent, that style will be set to inherit.

Certain text style changes may cause other changes in order to to mirror the behavior of the Docs editor. See the documentation of TextStyle for more information.

Trait Implementations

impl Part for UpdateTextStyleRequest[src]

impl Default for UpdateTextStyleRequest[src]

impl Clone for UpdateTextStyleRequest[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for UpdateTextStyleRequest[src]

impl Serialize for UpdateTextStyleRequest[src]

impl<'de> Deserialize<'de> for UpdateTextStyleRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]