Enum rust_tdlib::client::auth_handler::ClientIdentifier
source · pub enum ClientIdentifier {
PhoneNumber(String),
BotToken(String),
}
Expand description
ClientIdentifier
allows to determine if client is bot (with bot token as identifier) or client (with a phone number)
Variants§
Trait Implementations§
source§impl Clone for ClientIdentifier
impl Clone for ClientIdentifier
source§fn clone(&self) -> ClientIdentifier
fn clone(&self) -> ClientIdentifier
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more