pub struct SubscriptionListing {
pub benefits: Option<Vec<String>>,
pub description: Option<String>,
pub language_code: Option<String>,
pub title: Option<String>,
}Expand description
The consumer-visible metadata of a subscription.
This type is not used in any activity, and only used as part of another schema.
Fields§
§benefits: Option<Vec<String>>A list of benefits shown to the user on platforms such as the Play Store and in restoration flows in the language of this listing. Plain text. Ordered list of at most four benefits.
description: Option<String>The description of this subscription in the language of this listing. Maximum length - 80 characters. Plain text.
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 subscription in the language of this listing. Plain text.
Trait Implementations§
Source§impl Clone for SubscriptionListing
impl Clone for SubscriptionListing
Source§fn clone(&self) -> SubscriptionListing
fn clone(&self) -> SubscriptionListing
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 SubscriptionListing
impl Debug for SubscriptionListing
Source§impl Default for SubscriptionListing
impl Default for SubscriptionListing
Source§fn default() -> SubscriptionListing
fn default() -> SubscriptionListing
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SubscriptionListing
impl<'de> Deserialize<'de> for SubscriptionListing
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 SubscriptionListing
impl Serialize for SubscriptionListing
impl Part for SubscriptionListing
Auto Trait Implementations§
impl Freeze for SubscriptionListing
impl RefUnwindSafe for SubscriptionListing
impl Send for SubscriptionListing
impl Sync for SubscriptionListing
impl Unpin for SubscriptionListing
impl UnwindSafe for SubscriptionListing
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