Struct google_docs1::api::ReplaceNamedRangeContentRequest[][src]

pub struct ReplaceNamedRangeContentRequest {
    pub named_range_id: Option<String>,
    pub named_range_name: Option<String>,
    pub text: Option<String>,
}

Replaces the contents of the specified NamedRange or NamedRanges with the given replacement content. Note that an individual NamedRange may consist of multiple discontinuous ranges. In this case, only the content in the first range will be replaced. The other ranges and their content will be deleted. In cases where replacing or deleting any ranges would result in an invalid document structure, a 400 bad request error is returned.

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

Fields

named_range_id: Option<String>

The ID of the named range whose content will be replaced. If there is no named range with the given ID a 400 bad request error is returned.

named_range_name: Option<String>

The name of the NamedRanges whose content will be replaced. If there are multiple named ranges with the given name, then the content of each one will be replaced. If there are no named ranges with the given name, then the request will be a no-op.

text: Option<String>

Replaces the content of the specified named range(s) with the given text.

Trait Implementations

impl Clone for ReplaceNamedRangeContentRequest[src]

impl Debug for ReplaceNamedRangeContentRequest[src]

impl Default for ReplaceNamedRangeContentRequest[src]

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

impl Part for ReplaceNamedRangeContentRequest[src]

impl Serialize for ReplaceNamedRangeContentRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for ReplaceNamedRangeContentRequest[src]

impl Send for ReplaceNamedRangeContentRequest[src]

impl Sync for ReplaceNamedRangeContentRequest[src]

impl Unpin for ReplaceNamedRangeContentRequest[src]

impl UnwindSafe for ReplaceNamedRangeContentRequest[src]

Blanket Implementations

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

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

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

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

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

impl<T> Instrument for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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.