pub struct AppVersion {
pub is_production: Option<bool>,
pub target_sdk_version: Option<i32>,
pub track: Option<String>,
pub track_id: Option<Vec<String>>,
pub version_code: Option<i32>,
pub version_string: Option<String>,
}Expand description
This represents a single version of the app.
This type is not used in any activity, and only used as part of another schema.
Fields§
§is_production: Option<bool>True if this version is a production APK.
target_sdk_version: Option<i32>The SDK version this app targets, as specified in the manifest of the APK. See http://developer.android.com/guide/topics/manifest/uses-sdk-element.html
track: Option<String>Deprecated, use trackId instead.
track_id: Option<Vec<String>>Track ids that the app version is published in. Replaces the track field (deprecated), but doesn’t include the production track (see isProduction instead).
version_code: Option<i32>Unique increasing identifier for the app version.
version_string: Option<String>The string used in the Play store by the app developer to identify the version. The string is not necessarily unique or localized (for example, the string could be “1.4”).
Trait Implementations§
Source§impl Clone for AppVersion
impl Clone for AppVersion
Source§fn clone(&self) -> AppVersion
fn clone(&self) -> AppVersion
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 AppVersion
impl Debug for AppVersion
Source§impl Default for AppVersion
impl Default for AppVersion
Source§fn default() -> AppVersion
fn default() -> AppVersion
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AppVersion
impl<'de> Deserialize<'de> for AppVersion
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 AppVersion
impl Serialize for AppVersion
impl Part for AppVersion
Auto Trait Implementations§
impl Freeze for AppVersion
impl RefUnwindSafe for AppVersion
impl Send for AppVersion
impl Sync for AppVersion
impl Unpin for AppVersion
impl UnwindSafe for AppVersion
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