Struct clacks_mtproto::mtproto::user::User
[−]
[src]
pub struct User { pub self_: bool, pub contact: bool, pub mutual_contact: bool, pub deleted: bool, pub bot: bool, pub bot_chat_history: bool, pub bot_nochats: bool, pub verified: bool, pub restricted: bool, pub min: bool, pub bot_inline_geo: bool, pub id: int, pub access_hash: Option<long>, pub first_name: Option<string>, pub last_name: Option<string>, pub username: Option<string>, pub phone: Option<string>, pub photo: Option<UserProfilePhoto>, pub status: Option<UserStatus>, pub bot_info_version: Option<int>, pub restriction_reason: Option<string>, pub bot_inline_placeholder: Option<string>, pub lang_code: Option<string>, }
TL-derived from user
user#2e13f4c3 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true id:int access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?string bot_inline_placeholder:flags.19?string lang_code:flags.22?string = User;
Fields
self_: bool
contact: bool
mutual_contact: bool
deleted: bool
bot: bool
bot_chat_history: bool
bot_nochats: bool
verified: bool
restricted: bool
min: bool
bot_inline_geo: bool
id: int
access_hash: Option<long>
first_name: Option<string>
last_name: Option<string>
username: Option<string>
phone: Option<string>
photo: Option<UserProfilePhoto>
status: Option<UserStatus>
bot_info_version: Option<int>
restriction_reason: Option<string>
bot_inline_placeholder: Option<string>
lang_code: Option<string>
Trait Implementations
impl Debug for User
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for User
[src]
fn clone(&self) -> User
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more