pub struct ModuleMetadata {
pub delivery_type: Option<String>,
pub dependencies: Option<Vec<String>>,
pub module_type: Option<String>,
pub name: Option<String>,
pub targeting: Option<ModuleTargeting>,
}Expand description
Metadata of a module.
This type is not used in any activity, and only used as part of another schema.
Fields§
§delivery_type: Option<String>Indicates the delivery type (e.g. on-demand) of the module.
dependencies: Option<Vec<String>>Names of the modules that this module directly depends on. Each module implicitly depends on the base module.
module_type: Option<String>Indicates the type of this feature module.
name: Option<String>Module name.
targeting: Option<ModuleTargeting>The targeting that makes a conditional module installed. Relevant only for Split APKs.
Trait Implementations§
Source§impl Clone for ModuleMetadata
impl Clone for ModuleMetadata
Source§fn clone(&self) -> ModuleMetadata
fn clone(&self) -> ModuleMetadata
Returns a duplicate 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 ModuleMetadata
impl Debug for ModuleMetadata
Source§impl Default for ModuleMetadata
impl Default for ModuleMetadata
Source§fn default() -> ModuleMetadata
fn default() -> ModuleMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModuleMetadata
impl<'de> Deserialize<'de> for ModuleMetadata
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 ModuleMetadata
impl Serialize for ModuleMetadata
impl Part for ModuleMetadata
Auto Trait Implementations§
impl Freeze for ModuleMetadata
impl RefUnwindSafe for ModuleMetadata
impl Send for ModuleMetadata
impl Sync for ModuleMetadata
impl Unpin for ModuleMetadata
impl UnwindSafe for ModuleMetadata
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