pub struct InlineKeyboardButtonTypeLoginUrl {
pub url: String,
pub id: i64,
pub forward_text: String,
}Expand description
A button that opens a specified URL and automatically authorize the current user by calling getLoginUrlInfo
Fields§
§url: StringAn HTTP URL to pass to getLoginUrlInfo
id: i64Unique button identifier
forward_text: StringIf non-empty, new text of the button in forwarded messages
Trait Implementations§
Source§impl Clone for InlineKeyboardButtonTypeLoginUrl
impl Clone for InlineKeyboardButtonTypeLoginUrl
Source§fn clone(&self) -> InlineKeyboardButtonTypeLoginUrl
fn clone(&self) -> InlineKeyboardButtonTypeLoginUrl
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 Default for InlineKeyboardButtonTypeLoginUrl
impl Default for InlineKeyboardButtonTypeLoginUrl
Source§fn default() -> InlineKeyboardButtonTypeLoginUrl
fn default() -> InlineKeyboardButtonTypeLoginUrl
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InlineKeyboardButtonTypeLoginUrl
impl<'de> Deserialize<'de> for InlineKeyboardButtonTypeLoginUrl
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 InlineKeyboardButtonTypeLoginUrl
impl PartialEq for InlineKeyboardButtonTypeLoginUrl
Source§fn eq(&self, other: &InlineKeyboardButtonTypeLoginUrl) -> bool
fn eq(&self, other: &InlineKeyboardButtonTypeLoginUrl) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InlineKeyboardButtonTypeLoginUrl
Auto Trait Implementations§
impl Freeze for InlineKeyboardButtonTypeLoginUrl
impl RefUnwindSafe for InlineKeyboardButtonTypeLoginUrl
impl Send for InlineKeyboardButtonTypeLoginUrl
impl Sync for InlineKeyboardButtonTypeLoginUrl
impl Unpin for InlineKeyboardButtonTypeLoginUrl
impl UnsafeUnpin for InlineKeyboardButtonTypeLoginUrl
impl UnwindSafe for InlineKeyboardButtonTypeLoginUrl
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