Struct rust_tdlib::types::GetLoginUrl
source · pub struct GetLoginUrl { /* private fields */ }
Expand description
Returns an HTTP URL which can be used to automatically authorize the user on a website after clicking an inline button of type inlineKeyboardButtonTypeLoginUrl. Use the method getLoginUrlInfo to find whether a prior user confirmation is needed. If an error is returned, then the button must be handled as an ordinary URL button
Implementations§
Trait Implementations§
source§impl AsRef<GetLoginUrl> for GetLoginUrl
impl AsRef<GetLoginUrl> for GetLoginUrl
source§fn as_ref(&self) -> &GetLoginUrl
fn as_ref(&self) -> &GetLoginUrl
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for GetLoginUrl
impl Clone for GetLoginUrl
source§fn clone(&self) -> GetLoginUrl
fn clone(&self) -> GetLoginUrl
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 GetLoginUrl
impl Debug for GetLoginUrl
source§impl Default for GetLoginUrl
impl Default for GetLoginUrl
source§fn default() -> GetLoginUrl
fn default() -> GetLoginUrl
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GetLoginUrl
impl<'de> Deserialize<'de> for GetLoginUrl
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