[][src]Struct google_sheets4::NumberFormat

pub struct NumberFormat {
    pub pattern: Option<String>,
    pub type_: Option<String>,
}

The number format of a cell.

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

Fields

pattern: Option<String>

Pattern string used for formatting. If not set, a default pattern based on the user's locale will be used if necessary for the given type. See the Date and Number Formats guide for more information about the supported patterns.

type_: Option<String>

The type of the number format. When writing, this field must be set.

Trait Implementations

impl Clone for NumberFormat[src]

impl Debug for NumberFormat[src]

impl Default for NumberFormat[src]

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

impl Part for NumberFormat[src]

impl Serialize for NumberFormat[src]

Auto Trait Implementations

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, 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.

impl<T> Typeable for T where
    T: Any