pub struct ConnectedWebsite {
pub id: i64,
pub domain_name: String,
pub bot_user_id: i64,
pub browser: String,
pub platform: String,
pub log_in_date: i32,
pub last_active_date: i32,
pub ip_address: 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: i64
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_address: 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§
Source§impl Clone for ConnectedWebsite
impl Clone for ConnectedWebsite
Source§fn clone(&self) -> ConnectedWebsite
fn clone(&self) -> ConnectedWebsite
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 moreSource§impl Debug for ConnectedWebsite
impl Debug for ConnectedWebsite
Source§impl Default for ConnectedWebsite
impl Default for ConnectedWebsite
Source§fn default() -> ConnectedWebsite
fn default() -> ConnectedWebsite
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConnectedWebsite
impl<'de> Deserialize<'de> for ConnectedWebsite
Source§fn 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
Source§impl PartialEq for ConnectedWebsite
impl PartialEq for ConnectedWebsite
Source§impl Serialize for ConnectedWebsite
impl Serialize for ConnectedWebsite
impl StructuralPartialEq for ConnectedWebsite
Auto Trait Implementations§
impl Freeze for ConnectedWebsite
impl RefUnwindSafe for ConnectedWebsite
impl Send for ConnectedWebsite
impl Sync for ConnectedWebsite
impl Unpin for ConnectedWebsite
impl UnwindSafe for ConnectedWebsite
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more