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
sourceimpl AsRef<GetLoginUrl> for GetLoginUrl
impl AsRef<GetLoginUrl> for GetLoginUrl
sourcefn as_ref(&self) -> &GetLoginUrl
fn as_ref(&self) -> &GetLoginUrl
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for GetLoginUrl
impl Clone for GetLoginUrl
sourcefn clone(&self) -> GetLoginUrl
fn clone(&self) -> GetLoginUrl
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 more
sourceimpl Debug for GetLoginUrl
impl Debug for GetLoginUrl
sourceimpl Default for GetLoginUrl
impl Default for GetLoginUrl
sourcefn default() -> GetLoginUrl
fn default() -> GetLoginUrl
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for GetLoginUrl
impl<'de> Deserialize<'de> for GetLoginUrl
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 GetLoginUrl
impl Serialize for GetLoginUrl
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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