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<Error>>
pub async fn delete_account(&self, input: Input) -> Result<(), Error<Error>>
Delete a user account as an administrator.
sourcepub async fn disable_account_invites(
&self,
input: Input
) -> Result<(), Error<Error>>
pub async fn disable_account_invites( &self, input: Input ) -> Result<(), Error<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<Error>>
pub async fn disable_invite_codes( &self, input: Input ) -> Result<(), Error<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<Error>>
pub async fn enable_account_invites( &self, input: Input ) -> Result<(), Error<Error>>
Re-enable an account’s ability to receive invite codes.
sourcepub async fn get_account_info(
&self,
params: Parameters
) -> Result<Output, Error<Error>>
pub async fn get_account_info( &self, params: Parameters ) -> Result<Output, Error<Error>>
Get details about an account.
sourcepub async fn get_account_infos(
&self,
params: Parameters
) -> Result<Output, Error<Error>>
pub async fn get_account_infos( &self, params: Parameters ) -> Result<Output, Error<Error>>
Get details about some accounts.
sourcepub async fn get_invite_codes(
&self,
params: Parameters
) -> Result<Output, Error<Error>>
pub async fn get_invite_codes( &self, params: Parameters ) -> Result<Output, Error<Error>>
Get an admin view of invite codes.
sourcepub async fn get_subject_status(
&self,
params: Parameters
) -> Result<Output, Error<Error>>
pub async fn get_subject_status( &self, params: Parameters ) -> Result<Output, Error<Error>>
Get the service-specific admin status of a subject (account, record, or blob).
sourcepub async fn send_email(&self, input: Input) -> Result<Output, Error<Error>>
pub async fn send_email(&self, input: Input) -> Result<Output, Error<Error>>
Send email to a user’s account email address.
sourcepub async fn update_account_email(
&self,
input: Input
) -> Result<(), Error<Error>>
pub async fn update_account_email( &self, input: Input ) -> Result<(), Error<Error>>
Administrative action to update an account’s email.
sourcepub async fn update_account_handle(
&self,
input: Input
) -> Result<(), Error<Error>>
pub async fn update_account_handle( &self, input: Input ) -> Result<(), Error<Error>>
Administrative action to update an account’s handle.
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>
impl<T> UnwindSafe for Service<T>where
T: RefUnwindSafe,
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