Struct googleplay_protobuf::googleplay::AppDetails
source · [−]pub struct AppDetails {Show 25 fields
pub developer_name: Option<String>,
pub major_version_number: Option<i32>,
pub version_code: Option<i32>,
pub version_string: Option<String>,
pub title: Option<String>,
pub app_category: Vec<String>,
pub content_rating: Option<i32>,
pub installation_size: Option<i64>,
pub permission: Vec<String>,
pub developer_email: Option<String>,
pub developer_website: Option<String>,
pub num_downloads: Option<String>,
pub package_name: Option<String>,
pub recent_changes_html: Option<String>,
pub upload_date: Option<String>,
pub file: Vec<FileMetadata>,
pub app_type: Option<String>,
pub unstable: Option<bool>,
pub has_instant_link: Option<bool>,
pub contains_ads: Option<String>,
pub dependencies: Option<Dependencies>,
pub testing_program_info: Option<TestingProgramInfo>,
pub early_access_info: Option<EarlyAccessInfo>,
pub instant_link: Option<String>,
pub developer_address: Option<String>,
}
Fields
developer_name: Option<String>
major_version_number: Option<i32>
version_code: Option<i32>
version_string: Option<String>
title: Option<String>
app_category: Vec<String>
content_rating: Option<i32>
installation_size: Option<i64>
permission: Vec<String>
developer_email: Option<String>
developer_website: Option<String>
num_downloads: Option<String>
package_name: Option<String>
recent_changes_html: Option<String>
upload_date: Option<String>
file: Vec<FileMetadata>
app_type: Option<String>
unstable: Option<bool>
has_instant_link: Option<bool>
contains_ads: Option<String>
dependencies: Option<Dependencies>
testing_program_info: Option<TestingProgramInfo>
early_access_info: Option<EarlyAccessInfo>
instant_link: Option<String>
developer_address: Option<String>
Implementations
sourceimpl AppDetails
impl AppDetails
sourcepub fn developer_name(&self) -> &str
pub fn developer_name(&self) -> &str
Returns the value of developer_name
, or the default value if developer_name
is unset.
sourcepub fn major_version_number(&self) -> i32
pub fn major_version_number(&self) -> i32
Returns the value of major_version_number
, or the default value if major_version_number
is unset.
sourcepub fn version_code(&self) -> i32
pub fn version_code(&self) -> i32
Returns the value of version_code
, or the default value if version_code
is unset.
sourcepub fn version_string(&self) -> &str
pub fn version_string(&self) -> &str
Returns the value of version_string
, or the default value if version_string
is unset.
sourcepub fn title(&self) -> &str
pub fn title(&self) -> &str
Returns the value of title
, or the default value if title
is unset.
sourcepub fn content_rating(&self) -> i32
pub fn content_rating(&self) -> i32
Returns the value of content_rating
, or the default value if content_rating
is unset.
sourcepub fn installation_size(&self) -> i64
pub fn installation_size(&self) -> i64
Returns the value of installation_size
, or the default value if installation_size
is unset.
sourcepub fn developer_email(&self) -> &str
pub fn developer_email(&self) -> &str
Returns the value of developer_email
, or the default value if developer_email
is unset.
sourcepub fn developer_website(&self) -> &str
pub fn developer_website(&self) -> &str
Returns the value of developer_website
, or the default value if developer_website
is unset.
sourcepub fn num_downloads(&self) -> &str
pub fn num_downloads(&self) -> &str
Returns the value of num_downloads
, or the default value if num_downloads
is unset.
sourcepub fn package_name(&self) -> &str
pub fn package_name(&self) -> &str
Returns the value of package_name
, or the default value if package_name
is unset.
sourcepub fn recent_changes_html(&self) -> &str
pub fn recent_changes_html(&self) -> &str
Returns the value of recent_changes_html
, or the default value if recent_changes_html
is unset.
sourcepub fn upload_date(&self) -> &str
pub fn upload_date(&self) -> &str
Returns the value of upload_date
, or the default value if upload_date
is unset.
sourcepub fn app_type(&self) -> &str
pub fn app_type(&self) -> &str
Returns the value of app_type
, or the default value if app_type
is unset.
sourcepub fn unstable(&self) -> bool
pub fn unstable(&self) -> bool
Returns the value of unstable
, or the default value if unstable
is unset.
sourcepub fn has_instant_link(&self) -> bool
pub fn has_instant_link(&self) -> bool
Returns the value of has_instant_link
, or the default value if has_instant_link
is unset.
sourcepub fn contains_ads(&self) -> &str
pub fn contains_ads(&self) -> &str
Returns the value of contains_ads
, or the default value if contains_ads
is unset.
sourcepub fn instant_link(&self) -> &str
pub fn instant_link(&self) -> &str
Returns the value of instant_link
, or the default value if instant_link
is unset.
sourcepub fn developer_address(&self) -> &str
pub fn developer_address(&self) -> &str
Returns the value of developer_address
, or the default value if developer_address
is unset.
Trait Implementations
sourceimpl Clone for AppDetails
impl Clone for AppDetails
sourcefn clone(&self) -> AppDetails
fn clone(&self) -> AppDetails
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 AppDetails
impl Debug for AppDetails
sourceimpl Default for AppDetails
impl Default for AppDetails
sourceimpl Message for AppDetails
impl Message for AppDetails
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<AppDetails> for AppDetails
impl PartialEq<AppDetails> for AppDetails
sourcefn eq(&self, other: &AppDetails) -> bool
fn eq(&self, other: &AppDetails) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AppDetails) -> bool
fn ne(&self, other: &AppDetails) -> bool
This method tests for !=
.
impl StructuralPartialEq for AppDetails
Auto Trait Implementations
impl RefUnwindSafe for AppDetails
impl Send for AppDetails
impl Sync for AppDetails
impl Unpin for AppDetails
impl UnwindSafe for AppDetails
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