pub struct ConnectedWebsite {
    pub id: i64,
    pub domain_name: String,
    pub bot_user_id: i32,
    pub browser: String,
    pub platform: String,
    pub log_in_date: i32,
    pub last_active_date: i32,
    pub ip: String,
    pub location: String,
}
Expand description

Contains information about one website the current user is logged in with Telegram

Fields

id: i64

Website identifier

domain_name: String

The domain name of the website

bot_user_id: i32

User identifier of a bot linked with the website

browser: String

The version of a browser used to log in

platform: String

Operating system the browser is running on

log_in_date: i32

Point in time (Unix timestamp) when the user was logged in

last_active_date: i32

Point in time (Unix timestamp) when obtained authorization was last used

ip: String

IP address from which the user was logged in, in human-readable format

location: String

Human-readable description of a country and a region, from which the user was logged in, based on the IP address

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.