pub struct InlineKeyboardButtonTypeUser {
pub user_id: i64,
}
Expand description
A button with a user reference to be handled in the same way as textEntityTypeMentionName entities
Fields§
§user_id: i64
User identifier
Trait Implementations§
Source§impl Clone for InlineKeyboardButtonTypeUser
impl Clone for InlineKeyboardButtonTypeUser
Source§fn clone(&self) -> InlineKeyboardButtonTypeUser
fn clone(&self) -> InlineKeyboardButtonTypeUser
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 InlineKeyboardButtonTypeUser
impl Debug for InlineKeyboardButtonTypeUser
Source§impl Default for InlineKeyboardButtonTypeUser
impl Default for InlineKeyboardButtonTypeUser
Source§fn default() -> InlineKeyboardButtonTypeUser
fn default() -> InlineKeyboardButtonTypeUser
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InlineKeyboardButtonTypeUser
impl<'de> Deserialize<'de> for InlineKeyboardButtonTypeUser
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 InlineKeyboardButtonTypeUser
impl PartialEq for InlineKeyboardButtonTypeUser
Source§fn eq(&self, other: &InlineKeyboardButtonTypeUser) -> bool
fn eq(&self, other: &InlineKeyboardButtonTypeUser) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for InlineKeyboardButtonTypeUser
Auto Trait Implementations§
impl Freeze for InlineKeyboardButtonTypeUser
impl RefUnwindSafe for InlineKeyboardButtonTypeUser
impl Send for InlineKeyboardButtonTypeUser
impl Sync for InlineKeyboardButtonTypeUser
impl Unpin for InlineKeyboardButtonTypeUser
impl UnwindSafe for InlineKeyboardButtonTypeUser
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