pub struct InstalledAppInfo {
pub app_id: String,
pub name: String,
pub bundled_icon_path: Option<String>,
pub publisher: String,
pub can_launch: bool,
pub can_remove: bool,
pub version: String,
pub size_bytes: u64,
pub description: String,
pub permissions: Vec<InstalledAppPermissionGroup>,
}Fields§
§app_id: String§name: String§bundled_icon_path: Option<String>On-disk path/reference for the app’s bundled icon when it exists. Icon
bytes are fetched separately via GetAppIcon on device so a single
large icon (or many apps) cannot overflow the listing’s IPC buffer.
publisher: String§can_launch: bool§can_remove: bool§version: String§size_bytes: u64§description: String§permissions: Vec<InstalledAppPermissionGroup>Trait Implementations§
Source§impl Archive for InstalledAppInfo
impl Archive for InstalledAppInfo
Source§const COPY_OPTIMIZATION: CopyOptimization<Self>
const COPY_OPTIMIZATION: CopyOptimization<Self>
An optimization flag that allows the bytes of this type to be copied
directly to a writer instead of calling
serialize. Read moreSource§type Archived = ArchivedInstalledAppInfo
type Archived = ArchivedInstalledAppInfo
The archived representation of this type. Read more
Source§type Resolver = InstalledAppInfoResolver
type Resolver = InstalledAppInfoResolver
The resolver for this type. It must contain all the additional
information from serializing needed to make the archived type from
the normal type.
Source§impl Clone for InstalledAppInfo
impl Clone for InstalledAppInfo
Source§fn clone(&self) -> InstalledAppInfo
fn clone(&self) -> InstalledAppInfo
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 InstalledAppInfo
impl Debug for InstalledAppInfo
Source§impl<__D: Fallible + ?Sized> Deserialize<InstalledAppInfo, __D> for Archived<InstalledAppInfo>where
String: Archive,
<String as Archive>::Archived: Deserialize<String, __D>,
Option<String>: Archive,
<Option<String> as Archive>::Archived: Deserialize<Option<String>, __D>,
bool: Archive,
<bool as Archive>::Archived: Deserialize<bool, __D>,
u64: Archive,
<u64 as Archive>::Archived: Deserialize<u64, __D>,
Vec<InstalledAppPermissionGroup>: Archive,
<Vec<InstalledAppPermissionGroup> as Archive>::Archived: Deserialize<Vec<InstalledAppPermissionGroup>, __D>,
impl<__D: Fallible + ?Sized> Deserialize<InstalledAppInfo, __D> for Archived<InstalledAppInfo>where
String: Archive,
<String as Archive>::Archived: Deserialize<String, __D>,
Option<String>: Archive,
<Option<String> as Archive>::Archived: Deserialize<Option<String>, __D>,
bool: Archive,
<bool as Archive>::Archived: Deserialize<bool, __D>,
u64: Archive,
<u64 as Archive>::Archived: Deserialize<u64, __D>,
Vec<InstalledAppPermissionGroup>: Archive,
<Vec<InstalledAppPermissionGroup> as Archive>::Archived: Deserialize<Vec<InstalledAppPermissionGroup>, __D>,
Source§fn deserialize(
&self,
deserializer: &mut __D,
) -> Result<InstalledAppInfo, <__D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut __D, ) -> Result<InstalledAppInfo, <__D as Fallible>::Error>
Deserializes using the given deserializer
Source§impl<__S: Fallible + ?Sized> Serialize<__S> for InstalledAppInfo
impl<__S: Fallible + ?Sized> Serialize<__S> for InstalledAppInfo
Auto Trait Implementations§
impl Freeze for InstalledAppInfo
impl RefUnwindSafe for InstalledAppInfo
impl Send for InstalledAppInfo
impl Sync for InstalledAppInfo
impl Unpin for InstalledAppInfo
impl UnwindSafe for InstalledAppInfo
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
§impl<T> ArchiveUnsized for Twhere
T: Archive,
impl<T> ArchiveUnsized for Twhere
T: Archive,
§type Archived = <T as Archive>::Archived
type Archived = <T as Archive>::Archived
The archived counterpart of this type. Unlike
Archive, it may be
unsized. Read more§fn archived_metadata(
&self,
) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata
fn archived_metadata( &self, ) -> <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata
Creates the archived version of the metadata for this value.
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,
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.
§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2where
T: SharedNiching<N1, N2>,
N1: Niching<T>,
N2: Niching<T>,
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2where
T: SharedNiching<N1, N2>,
N1: Niching<T>,
N2: Niching<T>,
§impl<T> Pointee for T
impl<T> Pointee for T
§impl<T, S> SerializeUnsized<S> for Twhere
T: Serialize<S>,
S: Fallible + Writer + ?Sized,
impl<T, S> SerializeUnsized<S> for Twhere
T: Serialize<S>,
S: Fallible + Writer + ?Sized,
§fn serialize_unsized(
&self,
serializer: &mut S,
) -> Result<usize, <S as Fallible>::Error>
fn serialize_unsized( &self, serializer: &mut S, ) -> Result<usize, <S as Fallible>::Error>
Writes the object and returns the position of the archived type.