pub struct UnbanChatMember { /* private fields */ }
Expand description
Use this method to unban a previously kicked user in a supergroup or channel. The user will not return to the group or channel automatically, but will be able to join via link, etc. The bot must be an administrator in the group for this to work.
Implementations
Trait Implementations
sourceimpl Clone for UnbanChatMember
impl Clone for UnbanChatMember
sourcefn clone(&self) -> UnbanChatMember
fn clone(&self) -> UnbanChatMember
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 UnbanChatMember
impl Debug for UnbanChatMember
sourceimpl PartialEq<UnbanChatMember> for UnbanChatMember
impl PartialEq<UnbanChatMember> for UnbanChatMember
sourcefn eq(&self, other: &UnbanChatMember) -> bool
fn eq(&self, other: &UnbanChatMember) -> bool
sourceimpl PartialOrd<UnbanChatMember> for UnbanChatMember
impl PartialOrd<UnbanChatMember> for UnbanChatMember
sourcefn partial_cmp(&self, other: &UnbanChatMember) -> Option<Ordering>
fn partial_cmp(&self, other: &UnbanChatMember) -> 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 UnbanChatMember
impl Request for UnbanChatMember
type Type = JsonRequestType<UnbanChatMember>
type Response = JsonTrueToUnitResponse
fn serialize(&self) -> Result<HttpRequest, Error>
fn detach(&self) -> DetachedRequest<Self::Response>
sourceimpl Serialize for UnbanChatMember
impl Serialize for UnbanChatMember
impl StructuralPartialEq for UnbanChatMember
Auto Trait Implementations
impl RefUnwindSafe for UnbanChatMember
impl Send for UnbanChatMember
impl Sync for UnbanChatMember
impl Unpin for UnbanChatMember
impl UnwindSafe for UnbanChatMember
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