Struct rtdlib::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
Performs the conversion.
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for GetLoginUrl
impl Send for GetLoginUrl
impl Sync for GetLoginUrl
impl Unpin for GetLoginUrl
impl UnwindSafe for GetLoginUrl
Blanket Implementations
Mutably borrows from an owned value. Read more