pub struct SplitApkVariant {
pub apk_set: Option<Vec<ApkSet>>,
pub targeting: Option<VariantTargeting>,
pub variant_number: Option<i32>,
}Expand description
Variant is a group of APKs that covers a part of the device configuration space. APKs from multiple variants are never combined on one device.
This type is not used in any activity, and only used as part of another schema.
Fields§
§apk_set: Option<Vec<ApkSet>>Set of APKs, one set per module.
targeting: Option<VariantTargeting>Variant-level targeting.
variant_number: Option<i32>Number of the variant, starting at 0 (unless overridden). A device will receive APKs from the first variant that matches the device configuration, with higher variant numbers having priority over lower variant numbers.
Trait Implementations§
Source§impl Clone for SplitApkVariant
impl Clone for SplitApkVariant
Source§fn clone(&self) -> SplitApkVariant
fn clone(&self) -> SplitApkVariant
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 SplitApkVariant
impl Debug for SplitApkVariant
Source§impl Default for SplitApkVariant
impl Default for SplitApkVariant
Source§fn default() -> SplitApkVariant
fn default() -> SplitApkVariant
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SplitApkVariant
impl<'de> Deserialize<'de> for SplitApkVariant
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 SplitApkVariant
impl Serialize for SplitApkVariant
impl Part for SplitApkVariant
Auto Trait Implementations§
impl Freeze for SplitApkVariant
impl RefUnwindSafe for SplitApkVariant
impl Send for SplitApkVariant
impl Sync for SplitApkVariant
impl Unpin for SplitApkVariant
impl UnwindSafe for SplitApkVariant
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