Struct google_content2::api::CustomAttribute[][src]

pub struct CustomAttribute {
    pub name: Option<String>,
    pub type_: Option<String>,
    pub unit: Option<String>,
    pub value: Option<String>,
}

There is no detailed description.

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

Fields

name: Option<String>

The name of the attribute. Underscores will be replaced by spaces upon insertion.

type_: Option<String>

The type of the attribute. Acceptable values are: - “boolean” - “datetimerange” - “float” - “group” - “int” - “price” - “text” - “time” - “url

unit: Option<String>

Free-form unit of the attribute. Unit can only be used for values of type int, float, or price.

value: Option<String>

The value of the attribute.

Trait Implementations

impl Clone for CustomAttribute[src]

impl Debug for CustomAttribute[src]

impl Default for CustomAttribute[src]

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

impl Part for CustomAttribute[src]

impl Serialize for CustomAttribute[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> 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.