Struct google_mybusiness4::api::Item
source · pub struct Item {
pub item_id: Option<String>,
pub labels: Option<Vec<Label>>,
pub price: Option<Money>,
}
Expand description
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.
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.
price: Option<Money>
Optional. Price of the item.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Item
impl<'de> Deserialize<'de> for Item
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 Item
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§
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