pub struct ApplicationsClient { /* private fields */ }Implementations§
Source§impl ApplicationsClient
impl ApplicationsClient
pub async fn change_app_owner( &self, app_id: &str, user_name: &str, ) -> Result<RespChangeCount, Error<ChangeAppOwnerError>>
pub async fn create_app_version( &self, req_post_app: ReqPostApp, ) -> Result<RespResourceUrl, Error<CreateAppVersionError>>
pub async fn delete_app( &self, app_id: &str, ) -> Result<RespChangeCount, Error<DeleteAppError>>
pub async fn disable_app( &self, app_id: &str, ) -> Result<RespChangeCount, Error<DisableAppError>>
pub async fn disable_app_version( &self, app_id: &str, app_version: &str, ) -> Result<RespChangeCount, Error<DisableAppVersionError>>
pub async fn enable_app( &self, app_id: &str, ) -> Result<RespChangeCount, Error<EnableAppError>>
pub async fn enable_app_version( &self, app_id: &str, app_version: &str, ) -> Result<RespChangeCount, Error<EnableAppVersionError>>
pub async fn get_app( &self, app_id: &str, app_version: &str, require_exec_perm: Option<bool>, impersonation_id: Option<&str>, select: Option<&str>, resource_tenant: Option<&str>, ) -> Result<RespApp, Error<GetAppError>>
pub async fn get_app_latest_version( &self, app_id: &str, require_exec_perm: Option<bool>, select: Option<&str>, resource_tenant: Option<&str>, impersonation_id: Option<&str>, ) -> Result<RespApp, Error<GetAppLatestVersionError>>
pub async fn get_apps( &self, search: Option<&str>, list_type: Option<ListTypeEnum>, limit: Option<i32>, order_by: Option<&str>, skip: Option<i32>, start_after: Option<&str>, compute_total: Option<bool>, select: Option<&str>, show_deleted: Option<bool>, impersonation_id: Option<&str>, ) -> Result<RespApps, Error<GetAppsError>>
pub async fn get_history( &self, app_id: &str, ) -> Result<RespAppHistory, Error<GetHistoryError>>
pub async fn is_enabled( &self, app_id: &str, version: Option<&str>, ) -> Result<RespBoolean, Error<IsEnabledError>>
pub async fn lock_app( &self, app_id: &str, app_version: &str, ) -> Result<RespChangeCount, Error<LockAppError>>
pub async fn patch_app( &self, app_id: &str, app_version: &str, req_patch_app: ReqPatchApp, ) -> Result<RespResourceUrl, Error<PatchAppError>>
pub async fn put_app( &self, app_id: &str, app_version: &str, req_put_app: ReqPutApp, ) -> Result<RespResourceUrl, Error<PutAppError>>
pub async fn search_apps_query_parameters( &self, list_type: Option<ListTypeEnum>, limit: Option<i32>, order_by: Option<&str>, skip: Option<i32>, start_after: Option<&str>, compute_total: Option<bool>, select: Option<&str>, ) -> Result<RespApps, Error<SearchAppsQueryParametersError>>
pub async fn search_apps_request_body( &self, req_search_apps: ReqSearchApps, list_type: Option<ListTypeEnum>, limit: Option<i32>, order_by: Option<&str>, skip: Option<i32>, start_after: Option<&str>, compute_total: Option<bool>, select: Option<&str>, ) -> Result<RespApps, Error<SearchAppsRequestBodyError>>
pub async fn undelete_app( &self, app_id: &str, ) -> Result<RespChangeCount, Error<UndeleteAppError>>
pub async fn unlock_app( &self, app_id: &str, app_version: &str, ) -> Result<RespChangeCount, Error<UnlockAppError>>
Trait Implementations§
Source§impl Clone for ApplicationsClient
impl Clone for ApplicationsClient
Source§fn clone(&self) -> ApplicationsClient
fn clone(&self) -> ApplicationsClient
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ApplicationsClient
impl !RefUnwindSafe for ApplicationsClient
impl Send for ApplicationsClient
impl Sync for ApplicationsClient
impl Unpin for ApplicationsClient
impl UnsafeUnpin for ApplicationsClient
impl !UnwindSafe for ApplicationsClient
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