Struct teloxide_core::payloads::GetChatMember
source · [−]Expand description
Use this method to get information about a member of a chat. Returns a ChatMember object on success.
Fields
chat_id: RecipientUnique identifier for the target chat or username of the target channel (in the format @channelusername)
user_id: UserIdUnique identifier of the target user
Implementations
Trait Implementations
sourceimpl Clone for GetChatMember
impl Clone for GetChatMember
sourcefn clone(&self) -> GetChatMemberⓘNotable traits for GetChatMemberimpl Payload for GetChatMember type Output = ChatMember;
fn clone(&self) -> GetChatMemberⓘNotable traits for GetChatMemberimpl Payload for GetChatMember type Output = ChatMember;
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 moresourceimpl Debug for GetChatMember
impl Debug for GetChatMember
sourceimpl Hash for GetChatMember
impl Hash for GetChatMember
sourceimpl PartialEq<GetChatMember> for GetChatMember
impl PartialEq<GetChatMember> for GetChatMember
sourcefn eq(&self, other: &GetChatMember) -> bool
fn eq(&self, other: &GetChatMember) -> bool
sourceimpl Payload for GetChatMember
impl Payload for GetChatMember
type Output = ChatMember
type Output = ChatMember
The return type of a Telegram method. Read more
sourcefn timeout_hint(&self) -> Option<Duration>
fn timeout_hint(&self) -> Option<Duration>
If this payload may take long time to execute (e.g.
GetUpdates with
big timeout), the minimum timeout that should be used. Read moresourceimpl Serialize for GetChatMember
impl Serialize for GetChatMember
impl Eq for GetChatMember
impl StructuralEq for GetChatMember
impl StructuralPartialEq for GetChatMember
Auto Trait Implementations
impl RefUnwindSafe for GetChatMember
impl Send for GetChatMember
impl Sync for GetChatMember
impl Unpin for GetChatMember
impl UnwindSafe for GetChatMember
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.