[][src]Struct google_content2::CustomAttribute

pub struct CustomAttribute {
    pub unit: Option<String>,
    pub type_: Option<String>,
    pub name: 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

unit: Option<String>

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

type_: Option<String>

The type of the attribute.

Acceptable values are:

  • "boolean"
  • "datetimerange"
  • "float"
  • "group"
  • "int"
  • "price"
  • "text"
  • "time"
  • "url"
name: Option<String>

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

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