pub struct TrackRelease {
pub country_targeting: Option<CountryTargeting>,
pub in_app_update_priority: Option<i32>,
pub name: Option<String>,
pub release_notes: Option<Vec<LocalizedText>>,
pub status: Option<String>,
pub user_fraction: Option<f64>,
pub version_codes: Option<Vec<i64>>,
}Expand description
A release within a track.
This type is not used in any activity, and only used as part of another schema.
Fields§
§country_targeting: Option<CountryTargeting>Restricts a release to a specific set of countries. Note this is only allowed to be set for inProgress releases in the production track.
in_app_update_priority: Option<i32>In-app update priority of the release. All newly added APKs in the release will be considered at this priority. Can take values in the range [0, 5], with 5 the highest priority. Defaults to 0. in_app_update_priority can not be updated once the release is rolled out. See https://developer.android.com/guide/playcore/in-app-updates.
name: Option<String>The release name. Not required to be unique. If not set, the name is generated from the APK’s version_name. If the release contains multiple APKs, the name is generated from the date.
release_notes: Option<Vec<LocalizedText>>A description of what is new in this release.
status: Option<String>The status of the release.
user_fraction: Option<f64>Fraction of users who are eligible for a staged release. 0 < fraction < 1. Can only be set when status is “inProgress” or “halted”.
version_codes: Option<Vec<i64>>Version codes of all APKs in the release. Must include version codes to retain from previous releases.
Trait Implementations§
Source§impl Clone for TrackRelease
impl Clone for TrackRelease
Source§fn clone(&self) -> TrackRelease
fn clone(&self) -> TrackRelease
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more