pub struct Activity {
pub config_changes: Option<String>,
pub label: Option<String>,
pub launch_mode: Option<String>,
pub name: String,
pub orientation: Option<String>,
pub exported: Option<bool>,
pub resizeable_activity: Option<bool>,
pub always_retain_task_state: Option<bool>,
pub meta_data: Vec<MetaData>,
pub intent_filter: Vec<IntentFilter>,
}
Expand description
Android activity element.
Fields§
§config_changes: Option<String>
§label: Option<String>
§launch_mode: Option<String>
§name: String
§orientation: Option<String>
§exported: Option<bool>
§resizeable_activity: Option<bool>
§always_retain_task_state: Option<bool>
§meta_data: Vec<MetaData>
§intent_filter: Vec<IntentFilter>
If no MAIN
action exists in any intent filter, a default MAIN
filter is serialized by cargo-apk
.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Activity
impl<'de> Deserialize<'de> for Activity
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
Auto Trait Implementations§
impl RefUnwindSafe for Activity
impl Send for Activity
impl Sync for Activity
impl Unpin for Activity
impl UnwindSafe for Activity
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