Struct googleplay_protobuf::googleplay::TocResponse
source · pub struct TocResponse {Show 21 fields
pub corpus: Vec<CorpusMetadata>,
pub tos_version_deprecated: Option<i32>,
pub tos_content: Option<String>,
pub home_url: Option<String>,
pub experiments: Option<Experiments>,
pub tos_checkbox_text_marketing_emails: Option<String>,
pub tos_token: Option<String>,
pub user_settings: Option<UserSettings>,
pub icon_override_url: Option<String>,
pub self_update_config: Option<SelfUpdateConfig>,
pub requires_upload_device_config: Option<bool>,
pub billing_config: Option<BillingConfig>,
pub recs_widget_url: Option<String>,
pub social_home_url: Option<String>,
pub age_verification_required: Option<bool>,
pub g_plus_signup_enabled: Option<bool>,
pub redeem_enabled: Option<bool>,
pub help_url: Option<String>,
pub theme_id: Option<i32>,
pub entertainment_home_url: Option<String>,
pub cookie: Option<String>,
}
Fields§
§corpus: Vec<CorpusMetadata>
§tos_version_deprecated: Option<i32>
§tos_content: Option<String>
§home_url: Option<String>
§experiments: Option<Experiments>
§tos_checkbox_text_marketing_emails: Option<String>
§tos_token: Option<String>
§user_settings: Option<UserSettings>
§icon_override_url: Option<String>
§self_update_config: Option<SelfUpdateConfig>
§requires_upload_device_config: Option<bool>
§billing_config: Option<BillingConfig>
§recs_widget_url: Option<String>
§age_verification_required: Option<bool>
§g_plus_signup_enabled: Option<bool>
§redeem_enabled: Option<bool>
§help_url: Option<String>
§theme_id: Option<i32>
§entertainment_home_url: Option<String>
Implementations§
source§impl TocResponse
impl TocResponse
sourcepub fn tos_version_deprecated(&self) -> i32
pub fn tos_version_deprecated(&self) -> i32
Returns the value of tos_version_deprecated
, or the default value if tos_version_deprecated
is unset.
sourcepub fn tos_content(&self) -> &str
pub fn tos_content(&self) -> &str
Returns the value of tos_content
, or the default value if tos_content
is unset.
sourcepub fn home_url(&self) -> &str
pub fn home_url(&self) -> &str
Returns the value of home_url
, or the default value if home_url
is unset.
sourcepub fn tos_checkbox_text_marketing_emails(&self) -> &str
pub fn tos_checkbox_text_marketing_emails(&self) -> &str
Returns the value of tos_checkbox_text_marketing_emails
, or the default value if tos_checkbox_text_marketing_emails
is unset.
sourcepub fn tos_token(&self) -> &str
pub fn tos_token(&self) -> &str
Returns the value of tos_token
, or the default value if tos_token
is unset.
sourcepub fn icon_override_url(&self) -> &str
pub fn icon_override_url(&self) -> &str
Returns the value of icon_override_url
, or the default value if icon_override_url
is unset.
sourcepub fn requires_upload_device_config(&self) -> bool
pub fn requires_upload_device_config(&self) -> bool
Returns the value of requires_upload_device_config
, or the default value if requires_upload_device_config
is unset.
sourcepub fn recs_widget_url(&self) -> &str
pub fn recs_widget_url(&self) -> &str
Returns the value of recs_widget_url
, or the default value if recs_widget_url
is unset.
Returns the value of social_home_url
, or the default value if social_home_url
is unset.
sourcepub fn age_verification_required(&self) -> bool
pub fn age_verification_required(&self) -> bool
Returns the value of age_verification_required
, or the default value if age_verification_required
is unset.
sourcepub fn g_plus_signup_enabled(&self) -> bool
pub fn g_plus_signup_enabled(&self) -> bool
Returns the value of g_plus_signup_enabled
, or the default value if g_plus_signup_enabled
is unset.
sourcepub fn redeem_enabled(&self) -> bool
pub fn redeem_enabled(&self) -> bool
Returns the value of redeem_enabled
, or the default value if redeem_enabled
is unset.
sourcepub fn help_url(&self) -> &str
pub fn help_url(&self) -> &str
Returns the value of help_url
, or the default value if help_url
is unset.
sourcepub fn theme_id(&self) -> i32
pub fn theme_id(&self) -> i32
Returns the value of theme_id
, or the default value if theme_id
is unset.
sourcepub fn entertainment_home_url(&self) -> &str
pub fn entertainment_home_url(&self) -> &str
Returns the value of entertainment_home_url
, or the default value if entertainment_home_url
is unset.
Returns the value of cookie
, or the default value if cookie
is unset.
Trait Implementations§
source§impl Clone for TocResponse
impl Clone for TocResponse
source§fn clone(&self) -> TocResponse
fn clone(&self) -> TocResponse
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TocResponse
impl Debug for TocResponse
source§impl Default for TocResponse
impl Default for TocResponse
source§impl Message for TocResponse
impl Message for TocResponse
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.source§impl PartialEq for TocResponse
impl PartialEq for TocResponse
source§fn eq(&self, other: &TocResponse) -> bool
fn eq(&self, other: &TocResponse) -> bool
self
and other
values to be equal, and is used
by ==
.