pub struct OneTimeProductListing {
pub description: Option<String>,
pub language_code: Option<String>,
pub title: Option<String>,
}Expand description
Regional store listing for a one-time product.
This type is not used in any activity, and only used as part of another schema.
Fields§
§description: Option<String>Required. The description of this product in the language of this listing. The maximum length is 200 characters.
language_code: Option<String>Required. The language of this listing, as defined by BCP-47, e.g., “en-US”.
title: Option<String>Required. The title of this product in the language of this listing. The maximum length is 55 characters.
Trait Implementations§
Source§impl Clone for OneTimeProductListing
impl Clone for OneTimeProductListing
Source§fn clone(&self) -> OneTimeProductListing
fn clone(&self) -> OneTimeProductListing
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OneTimeProductListing
impl Debug for OneTimeProductListing
Source§impl Default for OneTimeProductListing
impl Default for OneTimeProductListing
Source§fn default() -> OneTimeProductListing
fn default() -> OneTimeProductListing
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OneTimeProductListing
impl<'de> Deserialize<'de> for OneTimeProductListing
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
Source§impl Serialize for OneTimeProductListing
impl Serialize for OneTimeProductListing
impl Part for OneTimeProductListing
Auto Trait Implementations§
impl Freeze for OneTimeProductListing
impl RefUnwindSafe for OneTimeProductListing
impl Send for OneTimeProductListing
impl Sync for OneTimeProductListing
impl Unpin for OneTimeProductListing
impl UnwindSafe for OneTimeProductListing
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