Struct googleplay_protobuf::googleplay::TocResponse
source · [−]pub struct TocResponse {Show 20 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 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 gplus_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>
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>
gplus_signup_enabled: Option<bool>
redeem_enabled: Option<bool>
help_url: Option<String>
theme_id: Option<i32>
entertainment_home_url: Option<String>
Implementations
sourceimpl 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 gplus_signup_enabled(&self) -> bool
pub fn gplus_signup_enabled(&self) -> bool
Returns the value of gplus_signup_enabled
, or the default value if gplus_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
sourceimpl Clone for TocResponse
impl Clone for TocResponse
sourcefn clone(&self) -> TocResponse
fn clone(&self) -> TocResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TocResponse
impl Debug for TocResponse
sourceimpl Default for TocResponse
impl Default for TocResponse
sourceimpl Message for TocResponse
impl Message for TocResponse
sourcefn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
sourcefn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
Encodes the message to a buffer. Read more
sourcefn encode_to_vec(&self) -> Vec<u8, Global>
fn encode_to_vec(&self) -> Vec<u8, Global>
Encodes the message to a newly allocated buffer.
sourcefn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
Encodes the message with a length-delimiter to a buffer. Read more
sourcefn encode_length_delimited_to_vec(&self) -> Vec<u8, Global>
fn encode_length_delimited_to_vec(&self) -> Vec<u8, Global>
Encodes the message with a length-delimiter to a newly allocated buffer.
sourcefn decode<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
Decodes an instance of the message from a buffer. Read more
sourcefn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
B: Buf,
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
sourcefn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
Decodes an instance of the message from a buffer, and merges it into self
. Read more
sourcefn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
sourceimpl PartialEq<TocResponse> for TocResponse
impl PartialEq<TocResponse> for TocResponse
sourcefn eq(&self, other: &TocResponse) -> bool
fn eq(&self, other: &TocResponse) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TocResponse) -> bool
fn ne(&self, other: &TocResponse) -> bool
This method tests for !=
.
impl StructuralPartialEq for TocResponse
Auto Trait Implementations
impl RefUnwindSafe for TocResponse
impl Send for TocResponse
impl Sync for TocResponse
impl Unpin for TocResponse
impl UnwindSafe for TocResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more