pub struct Service<T>{ /* private fields */ }
Implementations§
Source§impl<T> Service<T>
impl<T> Service<T>
Sourcepub async fn delete_account(&self, input: Input) -> Result<(), Error>
pub async fn delete_account(&self, input: Input) -> Result<(), Error>
Delete a user account as an administrator.
Sourcepub async fn disable_account_invites(&self, input: Input) -> Result<(), Error>
pub async fn disable_account_invites(&self, input: Input) -> Result<(), Error>
Disable an account from receiving new invite codes, but does not invalidate existing codes.
Sourcepub async fn disable_invite_codes(&self, input: Input) -> Result<(), Error>
pub async fn disable_invite_codes(&self, input: Input) -> Result<(), Error>
Disable some set of codes and/or all codes associated with a set of users.
Sourcepub async fn enable_account_invites(&self, input: Input) -> Result<(), Error>
pub async fn enable_account_invites(&self, input: Input) -> Result<(), Error>
Re-enable an account’s ability to receive invite codes.
Sourcepub async fn get_account_info(
&self,
params: Parameters,
) -> Result<Output, Error>
pub async fn get_account_info( &self, params: Parameters, ) -> Result<Output, Error>
Get details about an account.
Sourcepub async fn get_account_infos(
&self,
params: Parameters,
) -> Result<Output, Error>
pub async fn get_account_infos( &self, params: Parameters, ) -> Result<Output, Error>
Get details about some accounts.
Sourcepub async fn get_invite_codes(
&self,
params: Parameters,
) -> Result<Output, Error>
pub async fn get_invite_codes( &self, params: Parameters, ) -> Result<Output, Error>
Get an admin view of invite codes.
Sourcepub async fn get_subject_status(
&self,
params: Parameters,
) -> Result<Output, Error>
pub async fn get_subject_status( &self, params: Parameters, ) -> Result<Output, Error>
Get the service-specific admin status of a subject (account, record, or blob).
Sourcepub async fn search_accounts(&self, params: Parameters) -> Result<Output, Error>
pub async fn search_accounts(&self, params: Parameters) -> Result<Output, Error>
Get list of accounts that matches your search query.
Sourcepub async fn send_email(&self, input: Input) -> Result<Output, Error>
pub async fn send_email(&self, input: Input) -> Result<Output, Error>
Send email to a user’s account email address.
Sourcepub async fn update_account_email(&self, input: Input) -> Result<(), Error>
pub async fn update_account_email(&self, input: Input) -> Result<(), Error>
Administrative action to update an account’s email.
Sourcepub async fn update_account_handle(&self, input: Input) -> Result<(), Error>
pub async fn update_account_handle(&self, input: Input) -> Result<(), Error>
Administrative action to update an account’s handle.
Sourcepub async fn update_account_password(&self, input: Input) -> Result<(), Error>
pub async fn update_account_password(&self, input: Input) -> Result<(), Error>
Update the password for a user account as an administrator.
Auto Trait Implementations§
impl<T> Freeze for Service<T>
impl<T> RefUnwindSafe for Service<T>where
T: RefUnwindSafe,
impl<T> Send for Service<T>
impl<T> Sync for Service<T>
impl<T> Unpin for Service<T>where
T: Unpin,
impl<T> UnwindSafe for Service<T>where
T: RefUnwindSafe + UnwindSafe,
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