Struct telebot::objects::User
[−]
[src]
pub struct User { pub id: Integer, pub first_name: String, pub last_name: Option<String>, pub username: Option<String>, }
This object represents a Telegram user or bot.
Fields
id: Integer
first_name: String
last_name: Option<String>
username: Option<String>
Trait Implementations
impl Debug for User
[src]
impl Clone for User
[src]
fn clone(&self) -> User
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more