UserApi

Trait UserApi 

Source
pub trait UserApi {
    // Required methods
    fn get_teams(
        &self,
        project_key: String,
        auth: AuthType,
    ) -> impl Future<Output = ApiResult<GetTeamsResponse>> + Send;
    fn search_users(
        &self,
        request: SearchUsersRequest,
        auth: AuthType,
    ) -> impl Future<Output = ApiResult<Value>> + Send;
    fn get_user_detail(
        &self,
        request: GetUserDetailRequest,
        auth: AuthType,
    ) -> impl Future<Output = ApiResult<Value>> + Send;
}

Required Methods§

Source

fn get_teams( &self, project_key: String, auth: AuthType, ) -> impl Future<Output = ApiResult<GetTeamsResponse>> + Send

获取空间下团队人员

Source

fn search_users( &self, request: SearchUsersRequest, auth: AuthType, ) -> impl Future<Output = ApiResult<Value>> + Send

搜索租户内的用户列表

Source

fn get_user_detail( &self, request: GetUserDetailRequest, auth: AuthType, ) -> impl Future<Output = ApiResult<Value>> + Send

获取用户详情

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§