#[non_exhaustive]pub struct PackPackage {
pub name: Option<String>,
pub module_type: Option<String>,
pub device_types: Vec<String>,
pub delivery_with_install: Option<bool>,
}Expand description
An entry of packages: one HAP/HSP file of the bundle.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<String>File stem of the package inside the bundle (entry-default).
module_type: Option<String>moduleType: entry, feature or shared.
device_types: Vec<String>deviceType.
delivery_with_install: Option<bool>deliveryWithInstall: whether the package is installed with the app.
Trait Implementations§
Source§impl Clone for PackPackage
impl Clone for PackPackage
Source§impl Debug for PackPackage
impl Debug for PackPackage
Source§impl Default for PackPackage
impl Default for PackPackage
impl Eq for PackPackage
Source§impl PartialEq for PackPackage
impl PartialEq for PackPackage
impl StructuralPartialEq for PackPackage
Auto Trait Implementations§
impl Forget for PackPackage
impl Freeze for PackPackage
impl Move for PackPackage
impl RefUnwindSafe for PackPackage
impl Send for PackPackage
impl Sync for PackPackage
impl Unpin for PackPackage
impl UnsafeUnpin for PackPackage
impl UnwindSafe for PackPackage
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