Struct tdlib_types::types::ConnectedWebsite
source · 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
sourceimpl Clone for ConnectedWebsite
impl Clone for ConnectedWebsite
sourcefn clone(&self) -> ConnectedWebsite
fn clone(&self) -> ConnectedWebsite
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ConnectedWebsite
impl Debug for ConnectedWebsite
sourceimpl<'de> Deserialize<'de> for ConnectedWebsite
impl<'de> Deserialize<'de> for ConnectedWebsite
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for ConnectedWebsite
impl Serialize for ConnectedWebsite
Auto Trait Implementations
impl RefUnwindSafe for ConnectedWebsite
impl Send for ConnectedWebsite
impl Sync for ConnectedWebsite
impl Unpin for ConnectedWebsite
impl UnwindSafe for ConnectedWebsite
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more