Struct
AppManagerApi
pub struct AppManagerApi<P: CheckedPermissions>(/* private fields */);Implementations
impl<P: CheckedPermissions> AppManagerApi<P>
impl<P: CheckedPermissions> AppManagerApi<P>
pub fn app_name_by_app_id(&self, id: &AppId, locale: &str) -> Option<String>where
P: MessageAllowed<GetAppName>,
pub fn app_name_by_pid(&self, pid: PID, locale: &str) -> Option<String>where
P: MessageAllowed<GetAppName>,
pub fn get_qr_match_rules(&self) -> Vec<AppQrMatchRules>where
P: MessageAllowed<GetQrMatchRules>,
pub fn get_app_icon(
&self,
app_id: &str,
variant: IconVariant,
) -> Option<Vec<u8>>where
P: MessageAllowed<GetAppIcon>,
Trait Implementations
impl<P: Clone + CheckedPermissions> Clone for AppManagerApi<P>
impl<P: Clone + CheckedPermissions> Clone for AppManagerApi<P>
fn clone(&self) -> AppManagerApi<P>
fn clone(&self) -> AppManagerApi<P>
Returns a duplicate of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<P: Default + CheckedPermissions> Default for AppManagerApi<P>
impl<P: Default + CheckedPermissions> Default for AppManagerApi<P>
fn default() -> AppManagerApi<P>
fn default() -> AppManagerApi<P>
Returns the “default value” for a type. Read more