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

Struct

AppManifest

pub struct AppManifest {
    pub app_name: String,
    pub app_id: String,
    pub icon: String,
    pub permissions: Vec<String>,
    pub target_api_version: String,
}

Fields

app_name: Stringapp_id: Stringicon: Stringpermissions: Vec<String>target_api_version: String

Implementations

impl AppManifest

pub fn example() -> Self

Permission: not needed

pub fn to_toml_string(&self) -> String

Permission: not needed

Trait Implementations

impl Clone for AppManifest

fn clone(&self) -> AppManifest

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 AppManifest

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

Formats the value using the given formatter. Read more

impl PartialEq for AppManifest

fn eq(&self, other: &AppManifest) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

impl Eq for AppManifest

impl StructuralPartialEq for AppManifest

Auto Trait Implementations

impl Freeze for AppManifest

impl RefUnwindSafe for AppManifest

impl Send for AppManifest

impl Sync for AppManifest

impl Unpin for AppManifest

impl UnsafeUnpin for AppManifest

impl UnwindSafe for AppManifest