pub struct UnbanChatMember { /* private fields */ }Expand description
Builder for the unbanChatMember method.
Implementations§
Source§impl UnbanChatMember
impl UnbanChatMember
Sourcepub fn only_if_banned(self, v: bool) -> Self
pub fn only_if_banned(self, v: bool) -> Self
Only unbans the user if they are currently banned (ignores non-banned users).
Trait Implementations§
Source§impl IntoFuture for UnbanChatMember
impl IntoFuture for UnbanChatMember
Source§type IntoFuture = Pin<Box<dyn Future<Output = <UnbanChatMember as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <UnbanChatMember as IntoFuture>::Output> + Send>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for UnbanChatMember
impl !UnwindSafe for UnbanChatMember
impl Freeze for UnbanChatMember
impl Send for UnbanChatMember
impl Sync for UnbanChatMember
impl Unpin for UnbanChatMember
impl UnsafeUnpin for UnbanChatMember
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