pub struct BotCommandScopeChatMember {
pub chat_id: i64,
pub user_id: i64,
}
Expand description
A scope covering a member of a chat
Fields§
§chat_id: i64
Chat identifier
user_id: i64
User identifier
Trait Implementations§
Source§impl Clone for BotCommandScopeChatMember
impl Clone for BotCommandScopeChatMember
Source§fn clone(&self) -> BotCommandScopeChatMember
fn clone(&self) -> BotCommandScopeChatMember
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 BotCommandScopeChatMember
impl Debug for BotCommandScopeChatMember
Source§impl Default for BotCommandScopeChatMember
impl Default for BotCommandScopeChatMember
Source§fn default() -> BotCommandScopeChatMember
fn default() -> BotCommandScopeChatMember
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BotCommandScopeChatMember
impl<'de> Deserialize<'de> for BotCommandScopeChatMember
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
impl StructuralPartialEq for BotCommandScopeChatMember
Auto Trait Implementations§
impl Freeze for BotCommandScopeChatMember
impl RefUnwindSafe for BotCommandScopeChatMember
impl Send for BotCommandScopeChatMember
impl Sync for BotCommandScopeChatMember
impl Unpin for BotCommandScopeChatMember
impl UnwindSafe for BotCommandScopeChatMember
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