pub struct PermissionsClient { /* private fields */ }
Implementations§
Source§impl PermissionsClient
impl PermissionsClient
pub fn new(api_options: DfnsApiClientOptions) -> Self
pub async fn archive_permission( &self, request: ArchivePermissionRequest, ) -> Result<ArchivePermissionResponse, DfnsError>
pub async fn create_assignment( &self, request: CreateAssignmentRequest, ) -> Result<CreateAssignmentResponse, DfnsError>
pub async fn create_permission( &self, request: CreatePermissionRequest, ) -> Result<CreatePermissionResponse, DfnsError>
pub async fn delete_assignment( &self, request: DeleteAssignmentRequest, ) -> Result<DeleteAssignmentResponse, DfnsError>
pub async fn get_permission( &self, request: GetPermissionRequest, ) -> Result<GetPermissionResponse, DfnsError>
pub async fn list_assignments( &self, request: ListAssignmentsRequest, ) -> Result<ListAssignmentsResponse, DfnsError>
pub async fn list_permissions( &self, request: Option<ListPermissionsRequest>, ) -> Result<ListPermissionsResponse, DfnsError>
pub async fn update_permission( &self, request: UpdatePermissionRequest, ) -> Result<UpdatePermissionResponse, DfnsError>
Auto Trait Implementations§
impl Freeze for PermissionsClient
impl !RefUnwindSafe for PermissionsClient
impl Send for PermissionsClient
impl Sync for PermissionsClient
impl Unpin for PermissionsClient
impl !UnwindSafe for PermissionsClient
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