pub struct ParamsUpdateUser {
Show 19 fields pub userid: String, pub name: Option<String>, pub hide_mobile: Option<bool>, pub telephone: Option<String>, pub job_number: Option<String>, pub manager_userid: Option<String>, pub title: Option<String>, pub email: Option<String>, pub org_email: Option<String>, pub work_place: Option<String>, pub remark: Option<String>, pub dept_id_list: Option<String>, pub dept_order_list: Option<Vec<DeptOrder>>, pub dept_title_list: Option<Vec<DeptTitle>>, pub extension: Option<String>, pub senior_mode: Option<bool>, pub hired_date: Option<i64>, pub language: Option<ParamLanguage>, pub force_update_fields: Option<String>,
}

Fields

userid: String

员工的userId

name: Option<String>

员工名称,长度最大80个字符

hide_mobile: Option<bool>

是否号码隐藏: true:隐藏 隐藏手机号后,手机号在个人资料页隐藏,但仍可对其发DING、发起钉钉免费商务电话。 false:不隐藏

telephone: Option<String>

分机号,长度最大50个字符。 说明 分机号是唯一的,企业内不能重复

job_number: Option<String>

员工工号,长度最大50个字符

manager_userid: Option<String>

直属主管的userId

title: Option<String>

职位,长度最大200个字符

email: Option<String>

员工邮箱,长度最大50个字符。 说明 员工邮箱是唯一的,企业内不能重复

org_email: Option<String>

员工的企业邮箱。 说明 需满足以下条件,此字段才生效:员工的企业邮箱已开通

work_place: Option<String>

办公地点,长度最大100个字符

remark: Option<String>

备注,长度最大2000个字符

dept_id_list: Option<String>

所属部门ID列表

dept_order_list: Option<Vec<DeptOrder>>

员工在对应的部门中的排序

dept_title_list: Option<Vec<DeptTitle>>

员工在对应的部门中的职位

extension: Option<String>

扩展属性,可以设置多种属性,最大长度2000个字符

senior_mode: Option<bool>

是否开启高管模式,默认值false 开启后,手机号码对所有员工隐藏。 普通员工无法对其发DING、发起钉钉商务电话。 高管之间可以发DING、发起钉钉商务电话

hired_date: Option<i64>

入职时间,Unix时间戳,单位毫秒

language: Option<ParamLanguage>

通讯录语言,取值。 zh_CN:中文(默认值)。 en_US:英文

force_update_fields: Option<String>

强制更新的字段,支持清空指定的字段,多个字段之间使用逗号分隔。目前支持字段: manager_userid

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. 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