AppCmd

Type Alias AppCmd 

Source
pub type AppCmd = NamedObjectBase<NamedObjType<AppCmdDesc, AppCmdBody>>;

Aliased Type§

pub struct AppCmd { /* private fields */ }

Trait Implementations§

Source§

impl AppCmdObj for AppCmd

Source§

fn app_id(&self) -> &DecAppId

Source§

fn cmd(&self) -> &CmdCode

Source§

fn add(owner: ObjectId, id: DecAppId, app_owner: Option<ObjectId>) -> Self

Source§

fn remove(owner: ObjectId, id: DecAppId) -> Self

Source§

fn install( owner: ObjectId, id: DecAppId, version: &str, run_after_install: bool, ) -> Self

Source§

fn uninstall(owner: ObjectId, id: DecAppId) -> Self

Source§

fn start(owner: ObjectId, id: DecAppId) -> Self

Source§

fn stop(owner: ObjectId, id: DecAppId) -> Self

Source§

fn set_permission( owner: ObjectId, id: DecAppId, permission: ModifyAppPermission, ) -> Self

Source§

fn set_quota(owner: ObjectId, id: DecAppId, quota: AppQuota) -> Self

Source§

fn set_auto_update(owner: ObjectId, id: DecAppId, auto_update: bool) -> Self

Source§

fn output(&self) -> String