[][src]Struct google_docs1::InsertTextRequest

pub struct InsertTextRequest {
    pub text: Option<String>,
    pub end_of_segment_location: Option<EndOfSegmentLocation>,
    pub location: Option<Location>,
}

Inserts text at the specified location.

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

Fields

text: Option<String>

The text to be inserted.

Inserting a newline character will implicitly create a new Paragraph at that index. The paragraph style of the new paragraph will be copied from the paragraph at the current insertion index, including lists and bullets.

Text styles for inserted text will be determined automatically, generally preserving the styling of neighboring text. In most cases, the text style for the inserted text will match the text immediately before the insertion index.

Some control characters (U+0000-U+0008, U+000C-U+001F) and characters from the Unicode Basic Multilingual Plane Private Use Area (U+E000-U+F8FF) will be stripped out of the inserted text.

end_of_segment_location: Option<EndOfSegmentLocation>

Inserts the text at the end of a header, footer, footnote or the document body.

location: Option<Location>

Inserts the text at a specific index in the document.

Text must be inserted inside the bounds of an existing Paragraph. For instance, text cannot be inserted at a table's start index (i.e. between the table and its preceding paragraph). The text must be inserted in the preceding paragraph.

Trait Implementations

impl Part for InsertTextRequest[src]

impl Default for InsertTextRequest[src]

impl Clone for InsertTextRequest[src]

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

Performs copy-assignment from source. Read more

impl Debug for InsertTextRequest[src]

impl Serialize for InsertTextRequest[src]

impl<'de> Deserialize<'de> for InsertTextRequest[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]