Be aware: Foundation will NEVER ask for your seed words, device PIN, or call you unexpectedly. If anyone does, it's a scam.

Struct

InstalledAppInfo

pub struct InstalledAppInfo {
Show 14 fields pub app_id: String, pub name: String, pub publisher_fingerprint: String, pub publisher_name: String, pub is_foundation_signed: bool, pub launch_error: Option<LaunchError>, pub can_remove: bool, pub is_flux: bool, pub version: String, pub size_bytes: u64, pub app_hash: [u8; 32], pub description: String, pub basic_permissions: Vec<InstalledAppPermissionGroup>, pub approvable_permissions: Vec<InstalledAppPermissionGroup>,
}

Fields

app_id: Stringname: Stringpublisher_fingerprint: String

Short fingerprint of the third-party publisher that signed the app, whether or not its certificate currently allows a launch; empty for built-in apps and for a signer no stored certificate matches.

publisher_name: String

Publisher display name: the certificate name the user confirmed at import for a certified third-party app, the manifest’s publisher for a Foundation-signed app, empty otherwise.

is_foundation_signed: bool

Whether the bundle carries a Foundation signature header; the signature itself is only verified at launch.

launch_error: Option<LaunchError>

Why launching the app would fail right now, or None while it would succeed. The signature is only checked by an actual launch, so a launch can still fail with an error this never reports.

can_remove: boolis_flux: bool

Whether this is a Flux child app: it runs inside the Flux emulator, so direct-launch affordances (e.g. an Open App button) don’t apply to it.

version: Stringsize_bytes: u64app_hash: [u8; 32]

Sha256 of app.elf without its cosign2 header.

description: Stringbasic_permissions: Vec<InstalledAppPermissionGroup>

Auto-granted permissions (shown but not user-toggleable).

approvable_permissions: Vec<InstalledAppPermissionGroup>

Permissions the user can allow or deny.

Trait Implementations

impl Archive for InstalledAppInfo
where String: Archive, bool: Archive, Option<LaunchError>: Archive, u64: Archive, [u8; 32]: Archive, Vec<InstalledAppPermissionGroup>: Archive,

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 more

type Archived = ArchivedInstalledAppInfo

The archived representation of this type. Read more

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.

fn resolve(&self, resolver: Self::Resolver, out: Place<Self::Archived>)

Creates the archived version of this value at the given position and writes it to the given output. Read more

impl Clone for InstalledAppInfo

fn clone(&self) -> InstalledAppInfo

Returns a duplicate of the value. Read more
1.0.0

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

impl Debug for InstalledAppInfo

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

impl<__D: Fallible + ?Sized> Deserialize<InstalledAppInfo, __D> for Archived<InstalledAppInfo>
where String: Archive, <String as Archive>::Archived: Deserialize<String, __D>, bool: Archive, <bool as Archive>::Archived: Deserialize<bool, __D>, Option<LaunchError>: Archive, <Option<LaunchError> as Archive>::Archived: Deserialize<Option<LaunchError>, __D>, u64: Archive, <u64 as Archive>::Archived: Deserialize<u64, __D>, [u8; 32]: Archive, <[u8; 32] as Archive>::Archived: Deserialize<[u8; 32], __D>, Vec<InstalledAppPermissionGroup>: Archive, <Vec<InstalledAppPermissionGroup> as Archive>::Archived: Deserialize<Vec<InstalledAppPermissionGroup>, __D>,

fn deserialize( &self, deserializer: &mut __D, ) -> Result<InstalledAppInfo, <__D as Fallible>::Error>

Deserializes using the given deserializer

impl<__S: Fallible + ?Sized> Serialize<__S> for InstalledAppInfo
where String: Serialize<__S>, bool: Serialize<__S>, Option<LaunchError>: Serialize<__S>, u64: Serialize<__S>, [u8; 32]: Serialize<__S>, Vec<InstalledAppPermissionGroup>: Serialize<__S>,

fn serialize( &self, serializer: &mut __S, ) -> Result<<Self as Archive>::Resolver, <__S as Fallible>::Error>

Writes the dependencies for the object and returns a resolver that can create the archived type.

Auto Trait Implementations

impl Freeze for InstalledAppInfo

impl RefUnwindSafe for InstalledAppInfo

impl Send for InstalledAppInfo

impl Sync for InstalledAppInfo

impl Unpin for InstalledAppInfo

impl UnsafeUnpin for InstalledAppInfo

impl UnwindSafe for InstalledAppInfo