pub struct KickChatMember { /* private fields */ }
Expand description
Use this method to kick a user from a group or a supergroup. In the case of supergroups, the user will not be able to return to the group on their own using invite links, etc., unless unbanned first. The bot must be an administrator in the group for this to work.
Implementations
Trait Implementations
sourceimpl Clone for KickChatMember
impl Clone for KickChatMember
sourcefn clone(&self) -> KickChatMember
fn clone(&self) -> KickChatMember
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 KickChatMember
impl Debug for KickChatMember
sourceimpl PartialEq<KickChatMember> for KickChatMember
impl PartialEq<KickChatMember> for KickChatMember
sourcefn eq(&self, other: &KickChatMember) -> bool
fn eq(&self, other: &KickChatMember) -> bool
sourceimpl PartialOrd<KickChatMember> for KickChatMember
impl PartialOrd<KickChatMember> for KickChatMember
sourcefn partial_cmp(&self, other: &KickChatMember) -> Option<Ordering>
fn partial_cmp(&self, other: &KickChatMember) -> Option<Ordering>
1.0.0 · sourcefn 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 moresourceimpl Request for KickChatMember
impl Request for KickChatMember
type Type = JsonRequestType<KickChatMember>
type Response = JsonTrueToUnitResponse
fn serialize(&self) -> Result<HttpRequest, Error>
fn detach(&self) -> DetachedRequest<Self::Response>
sourceimpl Serialize for KickChatMember
impl Serialize for KickChatMember
impl StructuralPartialEq for KickChatMember
Auto Trait Implementations
impl RefUnwindSafe for KickChatMember
impl Send for KickChatMember
impl Sync for KickChatMember
impl Unpin for KickChatMember
impl UnwindSafe for KickChatMember
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