pub struct ApplicationManagement {
pub client: Client,
}Available on crate feature
requests only.Fields§
§client: ClientImplementations§
Source§impl ApplicationManagement
impl ApplicationManagement
Sourcepub async fn get_app_app_matching_users<'a>(
&'a self,
app_handles: Option<String>,
) -> Result<GetAppAppMatchingUsersResponse, Error>
pub async fn get_app_app_matching_users<'a>( &'a self, app_handles: Option<String>, ) -> Result<GetAppAppMatchingUsersResponse, Error>
GET Matching App Users
Returns matching users and their app IDs based on the app handles.
Note:There could be multiple instances of the same app. In this case, the API will return all instances in the format app_handle_app_owner_id.
Parameters:
app_handles: Option<String>: CSV of app handles. See GET /app_detail/app_handles
async fn example_application_management_get_app_app_matching_users() -> anyhow::Result<()> {
let client = rippling_base_api::Client::new_from_env();
let result: rippling_base_api::types::GetAppAppMatchingUsersResponse = client
.application_management()
.get_app_app_matching_users(Some("some-string".to_string()))
.await?;
println!("{:?}", result);
Ok(())
}Sourcepub async fn post_mark_app_installed<'a>(
&'a self,
) -> Result<PostMarkAppInstalledResponse, Error>
pub async fn post_mark_app_installed<'a>( &'a self, ) -> Result<PostMarkAppInstalledResponse, Error>
Mark App Installed
This endpoint can be hit to mark your app as installed in Rippling, if you aren’t hitting Rippling’s other endpoints on installation. The endpoint does not require any scopes.
Please note, hitting any other endpoint should mark your app as installed as well.
async fn example_application_management_post_mark_app_installed() -> anyhow::Result<()> {
let client = rippling_base_api::Client::new_from_env();
let result: rippling_base_api::types::PostMarkAppInstalledResponse = client
.application_management()
.post_mark_app_installed()
.await?;
println!("{:?}", result);
Ok(())
}Trait Implementations§
Source§impl Clone for ApplicationManagement
impl Clone for ApplicationManagement
Source§fn clone(&self) -> ApplicationManagement
fn clone(&self) -> ApplicationManagement
Returns a duplicate of the value. Read more
1.0.0§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 ApplicationManagement
impl !RefUnwindSafe for ApplicationManagement
impl Send for ApplicationManagement
impl Sync for ApplicationManagement
impl Unpin for ApplicationManagement
impl !UnwindSafe for ApplicationManagement
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more