pub struct AndroidConfig {
pub min_sdk_version: u32,
pub version_code: Option<u32>,
}
Expand description
General configuration for the iOS target.
Fields§
§min_sdk_version: u32
The minimum API level required for the application to run. The Android system will prevent the user from installing the application if the system’s API level is lower than the value specified.
version_code: Option<u32>
The version code of the application. It is limited to 2,100,000,000 as per Google Play Store requirements.
By default we use your configured version and perform the following math: versionCode = version.major * 1000000 + version.minor * 1000 + version.patch
Trait Implementations§
Source§impl Clone for AndroidConfig
impl Clone for AndroidConfig
Source§fn clone(&self) -> AndroidConfig
fn clone(&self) -> AndroidConfig
Returns a copy 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 AndroidConfig
impl Debug for AndroidConfig
Source§impl Default for AndroidConfig
impl Default for AndroidConfig
Source§impl<'de> Deserialize<'de> for AndroidConfig
impl<'de> Deserialize<'de> for AndroidConfig
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 PartialEq for AndroidConfig
impl PartialEq for AndroidConfig
Source§impl Serialize for AndroidConfig
impl Serialize for AndroidConfig
impl Eq for AndroidConfig
impl StructuralPartialEq for AndroidConfig
Auto Trait Implementations§
impl Freeze for AndroidConfig
impl RefUnwindSafe for AndroidConfig
impl Send for AndroidConfig
impl Sync for AndroidConfig
impl Unpin for AndroidConfig
impl UnwindSafe for AndroidConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.