[][src]Struct google_mybusiness4::Item

pub struct Item {
    pub item_id: Option<String>,
    pub price: Option<Money>,
    pub labels: Option<Vec<Label>>,
}

A single list item. Each variation of an item in the price list should have its own Item with its own price data.

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

Fields

item_id: Option<String>

Required. ID for the item. Price list, section, and item IDs cannot be duplicated within this Location.

price: Option<Money>

Optional. Price of the item.

labels: Option<Vec<Label>>

Required. Language-tagged labels for the item. We recommend that item names be 140 characters or less, and descriptions 250 characters or less. At least one set of labels is required.

Trait Implementations

impl Clone for Item[src]

impl Debug for Item[src]

impl Default for Item[src]

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

impl Part for Item[src]

impl Serialize for Item[src]

Auto Trait Implementations

impl RefUnwindSafe for Item

impl Send for Item

impl Sync for Item

impl Unpin for Item

impl UnwindSafe for Item

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