Struct google_mybusiness4::api::Section
source · pub struct Section {
pub items: Option<Vec<Item>>,
pub labels: Option<Vec<Label>>,
pub section_id: Option<String>,
pub section_type: Option<String>,
}
Expand description
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_id: Option<String>
Required. ID for the section. Price list, section, and item IDs cannot be duplicated within this Location.
section_type: Option<String>
Optional. Type of the current price list section. Default value is FOOD.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Section
impl<'de> Deserialize<'de> for Section
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for Section
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more