pub struct ApkManifest {
pub application_label: Option<String>,
pub intent_filters: Option<Vec<IntentFilter>>,
pub max_sdk_version: Option<i32>,
pub metadata: Option<Vec<Metadata>>,
pub min_sdk_version: Option<i32>,
pub package_name: Option<String>,
pub services: Option<Vec<Service>>,
pub target_sdk_version: Option<i32>,
pub uses_feature: Option<Vec<UsesFeature>>,
pub uses_permission: Option<Vec<String>>,
pub version_code: Option<i64>,
pub version_name: Option<String>,
}
Expand description
An Android app manifest. See http://developer.android.com/guide/topics/manifest/manifest-intro.html
This type is not used in any activity, and only used as part of another schema.
Fields§
§application_label: Option<String>
User-readable name for the application.
intent_filters: Option<Vec<IntentFilter>>
no description provided
max_sdk_version: Option<i32>
Maximum API level on which the application is designed to run.
metadata: Option<Vec<Metadata>>
Meta-data tags defined in the manifest.
min_sdk_version: Option<i32>
Minimum API level required for the application to run.
package_name: Option<String>
Full Java-style package name for this application, e.g. “com.example.foo”.
services: Option<Vec<Service>>
Services contained in the tag.
target_sdk_version: Option<i32>
Specifies the API Level on which the application is designed to run.
uses_feature: Option<Vec<UsesFeature>>
Feature usage tags defined in the manifest.
uses_permission: Option<Vec<String>>
Permissions declared to be used by the application
version_code: Option<i64>
Version number used internally by the app.
version_name: Option<String>
Version number shown to users.
Trait Implementations§
Source§impl Clone for ApkManifest
impl Clone for ApkManifest
Source§fn clone(&self) -> ApkManifest
fn clone(&self) -> ApkManifest
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 ApkManifest
impl Debug for ApkManifest
Source§impl Default for ApkManifest
impl Default for ApkManifest
Source§fn default() -> ApkManifest
fn default() -> ApkManifest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApkManifest
impl<'de> Deserialize<'de> for ApkManifest
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 ApkManifest
impl Serialize for ApkManifest
impl Part for ApkManifest
Auto Trait Implementations§
impl Freeze for ApkManifest
impl RefUnwindSafe for ApkManifest
impl Send for ApkManifest
impl Sync for ApkManifest
impl Unpin for ApkManifest
impl UnwindSafe for ApkManifest
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more