pub struct AppDetails {
Show 44 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 info_download_size: Option<i64>, pub permission: Vec<String>, pub developer_email: Option<String>, pub developer_website: Option<String>, pub info_download: Option<String>, pub package_name: Option<String>, pub recent_changes_html: Option<String>, pub info_updated_on: Option<String>, pub file: Vec<FileMetadata>, pub app_type: Option<String>, pub certificate_hash: Vec<String>, pub varies_with_device: Option<bool>, pub certificate_set: Vec<CertificateSet>, pub auto_acquire_free_app_if_higher_version_available_tag: Vec<String>, pub has_instant_link: Option<bool>, pub split_id: Vec<String>, pub gamepad_required: Option<bool>, pub externally_hosted: Option<bool>, pub ever_externally_hosted: Option<bool>, pub install_notes: Option<String>, pub install_location: Option<i32>, pub target_sdk_version: Option<i32>, pub has_preregistration_promo_code: Option<String>, pub dependencies: Option<Dependencies>, pub testing_program_info: Option<TestingProgramInfo>, pub early_access_info: Option<EarlyAccessInfo>, pub editor_choice: Option<EditorChoice>, pub instant_link: Option<String>, pub developer_address: Option<String>, pub publisher: Option<Publisher>, pub category_name: Option<String>, pub download_count: Option<i64>, pub download_label_display: Option<String>, pub in_app_product: Option<String>, pub download_label_abbreviated: Option<String>, pub download_label: Option<String>, pub compatibility: Option<Compatibility>,
}

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>§info_download_size: Option<i64>§permission: Vec<String>§developer_email: Option<String>§developer_website: Option<String>§info_download: Option<String>§package_name: Option<String>§recent_changes_html: Option<String>§info_updated_on: Option<String>§file: Vec<FileMetadata>§app_type: Option<String>§certificate_hash: Vec<String>§varies_with_device: Option<bool>§certificate_set: Vec<CertificateSet>§auto_acquire_free_app_if_higher_version_available_tag: Vec<String>§has_instant_link: Option<bool>§split_id: Vec<String>§gamepad_required: Option<bool>§externally_hosted: Option<bool>§ever_externally_hosted: Option<bool>§install_notes: Option<String>§install_location: Option<i32>§target_sdk_version: Option<i32>§has_preregistration_promo_code: Option<String>§dependencies: Option<Dependencies>§testing_program_info: Option<TestingProgramInfo>§early_access_info: Option<EarlyAccessInfo>§editor_choice: Option<EditorChoice>§instant_link: Option<String>§developer_address: Option<String>§publisher: Option<Publisher>§category_name: Option<String>§download_count: Option<i64>§download_label_display: Option<String>§in_app_product: Option<String>§download_label_abbreviated: Option<String>§download_label: Option<String>§compatibility: Option<Compatibility>

Implementations§

source§

impl AppDetails

source

pub fn developer_name(&self) -> &str

Returns the value of developer_name, or the default value if developer_name is unset.

source

pub fn major_version_number(&self) -> i32

Returns the value of major_version_number, or the default value if major_version_number is unset.

source

pub fn version_code(&self) -> i32

Returns the value of version_code, or the default value if version_code is unset.

source

pub fn version_string(&self) -> &str

Returns the value of version_string, or the default value if version_string is unset.

source

pub fn title(&self) -> &str

Returns the value of title, or the default value if title is unset.

source

pub fn content_rating(&self) -> i32

Returns the value of content_rating, or the default value if content_rating is unset.

source

pub fn info_download_size(&self) -> i64

Returns the value of info_download_size, or the default value if info_download_size is unset.

source

pub fn developer_email(&self) -> &str

Returns the value of developer_email, or the default value if developer_email is unset.

source

pub fn developer_website(&self) -> &str

Returns the value of developer_website, or the default value if developer_website is unset.

source

pub fn info_download(&self) -> &str

Returns the value of info_download, or the default value if info_download is unset.

source

pub fn package_name(&self) -> &str

Returns the value of package_name, or the default value if package_name is unset.

source

pub fn recent_changes_html(&self) -> &str

Returns the value of recent_changes_html, or the default value if recent_changes_html is unset.

source

pub fn info_updated_on(&self) -> &str

Returns the value of info_updated_on, or the default value if info_updated_on is unset.

source

pub fn app_type(&self) -> &str

Returns the value of app_type, or the default value if app_type is unset.

source

pub fn varies_with_device(&self) -> bool

Returns the value of varies_with_device, or the default value if varies_with_device is unset.

Returns the value of has_instant_link, or the default value if has_instant_link is unset.

source

pub fn gamepad_required(&self) -> bool

Returns the value of gamepad_required, or the default value if gamepad_required is unset.

source

pub fn externally_hosted(&self) -> bool

Returns the value of externally_hosted, or the default value if externally_hosted is unset.

source

pub fn ever_externally_hosted(&self) -> bool

Returns the value of ever_externally_hosted, or the default value if ever_externally_hosted is unset.

source

pub fn install_notes(&self) -> &str

Returns the value of install_notes, or the default value if install_notes is unset.

source

pub fn install_location(&self) -> i32

Returns the value of install_location, or the default value if install_location is unset.

source

pub fn target_sdk_version(&self) -> i32

Returns the value of target_sdk_version, or the default value if target_sdk_version is unset.

source

pub fn has_preregistration_promo_code(&self) -> &str

Returns the value of has_preregistration_promo_code, or the default value if has_preregistration_promo_code is unset.

Returns the value of instant_link, or the default value if instant_link is unset.

source

pub fn developer_address(&self) -> &str

Returns the value of developer_address, or the default value if developer_address is unset.

source

pub fn category_name(&self) -> &str

Returns the value of category_name, or the default value if category_name is unset.

source

pub fn download_count(&self) -> i64

Returns the value of download_count, or the default value if download_count is unset.

source

pub fn download_label_display(&self) -> &str

Returns the value of download_label_display, or the default value if download_label_display is unset.

source

pub fn in_app_product(&self) -> &str

Returns the value of in_app_product, or the default value if in_app_product is unset.

source

pub fn download_label_abbreviated(&self) -> &str

Returns the value of download_label_abbreviated, or the default value if download_label_abbreviated is unset.

source

pub fn download_label(&self) -> &str

Returns the value of download_label, or the default value if download_label is unset.

Trait Implementations§

source§

impl Clone for AppDetails

source§

fn clone(&self) -> AppDetails

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AppDetails

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for AppDetails

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Message for AppDetails

source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
source§

fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
where B: BufMut, Self: Sized,

Encodes the message to a buffer. Read more
source§

fn encode_to_vec(&self) -> Vec<u8>
where Self: Sized,

Encodes the message to a newly allocated buffer.
source§

fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
where B: BufMut, Self: Sized,

Encodes the message with a length-delimiter to a buffer. Read more
source§

fn encode_length_delimited_to_vec(&self) -> Vec<u8>
where Self: Sized,

Encodes the message with a length-delimiter to a newly allocated buffer.
source§

fn decode<B>(buf: B) -> Result<Self, DecodeError>
where B: Buf, Self: Default,

Decodes an instance of the message from a buffer. Read more
source§

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.
source§

fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
where B: Buf, Self: Sized,

Decodes an instance of the message from a buffer, and merges it into self. Read more
source§

fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
where B: Buf, Self: Sized,

Decodes a length-delimited instance of the message from buffer, and merges it into self.
source§

impl PartialEq for AppDetails

source§

fn eq(&self, other: &AppDetails) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for AppDetails

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.