[][src]Struct google_mybusiness4::Section

pub struct Section {
    pub items: Option<Vec<Item>>,
    pub labels: Option<Vec<Label>>,
    pub section_type: Option<String>,
    pub section_id: Option<String>,
}

A section of the price list containing one or more items.

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

Fields

items: Option<Vec<Item>>

Items that are contained within this section of the price list.

labels: Option<Vec<Label>>

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

section_type: Option<String>

Optional. Type of the current price list section. Default value is FOOD.

section_id: Option<String>

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

Trait Implementations

impl Clone for Section[src]

impl Debug for Section[src]

impl Default for Section[src]

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

impl Part for Section[src]

impl Serialize for Section[src]

Auto Trait Implementations

impl RefUnwindSafe for Section

impl Send for Section

impl Sync for Section

impl Unpin for Section

impl UnwindSafe for Section

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