pub struct Variant {
pub device_spec: Option<DeviceSpec>,
pub options: Option<SystemApkOptions>,
pub variant_id: Option<u32>,
}Expand description
APK that is suitable for inclusion in a system image. The resource of SystemApksService.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- variants create systemapks (request|response)
- variants get systemapks (response)
Fields§
§device_spec: Option<DeviceSpec>The device spec used to generate the APK.
options: Option<SystemApkOptions>Optional. Options applied to the generated APK.
variant_id: Option<u32>Output only. The ID of a previously created system APK variant.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Variant
impl<'de> Deserialize<'de> for Variant
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
impl RequestValue for Variant
impl ResponseResult for Variant
Auto Trait Implementations§
impl Freeze for Variant
impl RefUnwindSafe for Variant
impl Send for Variant
impl Sync for Variant
impl Unpin for Variant
impl UnwindSafe for Variant
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