pub struct UserInfo {
pub user_id: String,
pub name: String,
pub mobile: String,
pub department: Option<Vec<String>>,
pub position: String,
pub email: String,
pub telephone: String,
pub corpid: String,
pub extattr: Option<ExtAttributes>,
}Fields§
§user_id: String成员UserID。对应管理端的帐号,企业内必须唯一。不区分大小写,长度为1~64个字节
name: String成员真实名称
mobile: String手机号码
department: Option<Vec<String>>成员所属部门id列表,这个字段会返回在应用可见范围内,该用户所在的所有互联企业的部门
position: String职务信息
email: String邮箱
telephone: String座机
corpid: String所属企业的corpid
extattr: Option<ExtAttributes>扩展属性
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UserInfo
impl<'de> Deserialize<'de> for UserInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for UserInfo
impl RefUnwindSafe for UserInfo
impl Send for UserInfo
impl Sync for UserInfo
impl Unpin for UserInfo
impl UnwindSafe for UserInfo
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