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

Trait Implementations

impl Debug for User
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for User
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl BareSerialize for User
[src]

impl BareDeserialize for User
[src]

impl IntoBoxed for User
[src]

[src]

Auto Trait Implementations

impl Send for User

impl Sync for User