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 duplicate 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
Auto Trait Implementations§
impl Freeze for GetLoginUrl
impl RefUnwindSafe for GetLoginUrl
impl Send for GetLoginUrl
impl Sync for GetLoginUrl
impl Unpin for GetLoginUrl
impl UnwindSafe for GetLoginUrl
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