pub trait LinkedCorpManager {
// Required methods
fn linked_corp_agent_get_perm_list<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<ResponseAgentPermList>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn linked_corp_user_get<'life0, 'life1, 'async_trait>(
&'life0 self,
user_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<UserInfo>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn linked_corp_user_simple_list<'life0, 'life1, 'async_trait>(
&'life0 self,
department_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<UserSimpleInfo>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn linked_corp_user_list<'life0, 'life1, 'async_trait>(
&'life0 self,
department_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<UserInfo>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn linked_corp_department_list<'life0, 'life1, 'async_trait>(
&'life0 self,
department_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<DepartmentInfo>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Required Methods§
Sourcefn linked_corp_agent_get_perm_list<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<ResponseAgentPermList>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn linked_corp_agent_get_perm_list<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<ResponseAgentPermList>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
获取应用的可见范围 https://developer.work.weixin.qq.com/document/path/93172
Sourcefn linked_corp_user_get<'life0, 'life1, 'async_trait>(
&'life0 self,
user_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<UserInfo>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn linked_corp_user_get<'life0, 'life1, 'async_trait>(
&'life0 self,
user_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<UserInfo>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
获取互联企业成员详情信息 https://developer.work.weixin.qq.com/document/path/93171
Sourcefn linked_corp_user_simple_list<'life0, 'life1, 'async_trait>(
&'life0 self,
department_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<UserSimpleInfo>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn linked_corp_user_simple_list<'life0, 'life1, 'async_trait>(
&'life0 self,
department_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<UserSimpleInfo>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
获取互联企业部门成员 https://developer.work.weixin.qq.com/document/path/93168
Sourcefn linked_corp_user_list<'life0, 'life1, 'async_trait>(
&'life0 self,
department_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<UserInfo>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn linked_corp_user_list<'life0, 'life1, 'async_trait>(
&'life0 self,
department_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<UserInfo>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
获取互联企业部门成员详情 https://developer.work.weixin.qq.com/document/path/93169
Sourcefn linked_corp_department_list<'life0, 'life1, 'async_trait>(
&'life0 self,
department_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<DepartmentInfo>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn linked_corp_department_list<'life0, 'life1, 'async_trait>(
&'life0 self,
department_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<DepartmentInfo>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
获取互联企业部门列表 https://developer.work.weixin.qq.com/document/path/93170