pub struct Meta<'a> {
pub app_id: &'a str,
pub app_name: &'a str,
pub author_id: &'a str,
pub author_name: &'a str,
pub launcher: bool,
pub sudo: bool,
pub version: u32,
}
Fields§
§app_id: &'a str
§app_name: &'a str
App name is shown in the launcher in the list of apps.
launcher: bool
Launcher is the app that starts first when runtime is launched.
sudo: bool
Let the app to use privileged and dangerous runtime API.
version: u32
The ever-incrementing version number of the app build. Used by netplay to ensure both devices running the same version.
Trait Implementations§
Source§impl<'de: 'a, 'a> Deserialize<'de> for Meta<'a>
impl<'de: 'a, 'a> Deserialize<'de> for Meta<'a>
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<'a> Encode<'a> for Meta<'a>
impl<'a> Encode<'a> for Meta<'a>
impl<'a> Eq for Meta<'a>
impl<'a> StructuralPartialEq for Meta<'a>
Auto Trait Implementations§
impl<'a> Freeze for Meta<'a>
impl<'a> RefUnwindSafe for Meta<'a>
impl<'a> Send for Meta<'a>
impl<'a> Sync for Meta<'a>
impl<'a> Unpin for Meta<'a>
impl<'a> UnwindSafe for Meta<'a>
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