pub struct Client { /* private fields */ }

Implementations

获取企业内部应用的access_token https://open.dingtalk.com/document/orgapp-server/obtain-orgapp-token

Trait Implementations

Formats the value using the given formatter. Read more

创建部门 https://open.dingtalk.com/document/orgapp-server/create-a-department-v2 Read more

更新部门 https://open.dingtalk.com/document/orgapp-server/update-a-department-v2 Read more

删除部门 https://open.dingtalk.com/document/orgapp-server/delete-a-department-v2 Read more

获取部门列表 https://open.dingtalk.com/document/orgapp-server/obtain-the-department-list-v2 Read more

获取子部门ID列表 https://open.dingtalk.com/document/orgapp-server/obtain-a-sub-department-id-list-v2 Read more

获取指定部门的所有父部门列表 https://open.dingtalk.com/document/orgapp-server/query-the-list-of-all-parent-departments-of-a-department Read more

获取指定用户的所有父部门列表 https://open.dingtalk.com/document/orgapp-server/queries-the-list-of-all-parent-departments-of-a-user Read more

创建用户 https://open.dingtalk.com/document/orgapp-server/user-information-creation Read more

更新用户 https://open.dingtalk.com/document/orgapp-server/user-information-update Read more

删除用户 https://open.dingtalk.com/document/orgapp-server/delete-a-user Read more

查询用户详情 https://open.dingtalk.com/document/orgapp-server/query-user-details Read more

根据手机号查询用户, 根据手机号可以查询在职员工的userId。如果员工离职,无法根据手机号获取用户的userId https://open.dingtalk.com/document/orgapp-server/query-users-by-phone-number Read more

获取部门用户基础信息 https://open.dingtalk.com/document/orgapp-server/queries-the-simple-information-of-a-department-user Read more

获取部门用户userid列表 https://open.dingtalk.com/document/orgapp-server/query-the-list-of-department-userids Read more

获取部门用户详情 https://open.dingtalk.com/document/orgapp-server/queries-the-complete-information-of-a-department-user Read more

获取员工人数 https://open.dingtalk.com/document/orgapp-server/obtain-the-number-of-employees-v2 @params only_active: 是否包含未激活钉钉人数: false:包含未激活钉钉的人员数量 true:只包含激活钉钉的人员数量 Read more

获取未登录钉钉的员工列表 https://open.dingtalk.com/document/orgapp-server/queries-the-inactive-users-or-active-users-under-an-enterprise Read more

根据unionid获取用户userid https://open.dingtalk.com/document/orgapp-server/query-a-user-by-the-union-id Read more

获取管理员列表 https://open.dingtalk.com/document/orgapp-server/query-the-administrator-list Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more