Struct telegram_bot_fork::types::requests::GetChatMember
source · pub struct GetChatMember { /* private fields */ }
Expand description
Use this method to get information about a member of a chat.
Implementations§
source§impl GetChatMember
impl GetChatMember
pub fn new<C, U>(chat: C, user: U) -> GetChatMemberwhere
C: ToChatRef,
U: ToUserId,
Trait Implementations§
source§impl Clone for GetChatMember
impl Clone for GetChatMember
source§fn clone(&self) -> GetChatMember
fn clone(&self) -> GetChatMember
Returns a copy 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 GetChatMember
impl Debug for GetChatMember
source§impl PartialEq<GetChatMember> for GetChatMember
impl PartialEq<GetChatMember> for GetChatMember
source§fn eq(&self, other: &GetChatMember) -> bool
fn eq(&self, other: &GetChatMember) -> bool
source§impl PartialOrd<GetChatMember> for GetChatMember
impl PartialOrd<GetChatMember> for GetChatMember
source§fn partial_cmp(&self, other: &GetChatMember) -> Option<Ordering>
fn partial_cmp(&self, other: &GetChatMember) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Request for GetChatMember
impl Request for GetChatMember
type Type = JsonRequestType<GetChatMember>
type Response = JsonIdResponse<ChatMember>
fn serialize(&self) -> Result<HttpRequest, Error>
fn detach(&self) -> DetachedRequest<Self::Response>
source§impl Serialize for GetChatMember
impl Serialize for GetChatMember
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more