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 元素.
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>如果任何意图过滤器中都不存在“MAIN”动作,则默认的“MAIN”过滤器由“cargo-apk2”序列化。
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 Freeze for Activity
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