pub struct SetChatPermissions { /* private fields */ }Expand description
Builder for the setChatPermissions method.
Implementations§
Source§impl SetChatPermissions
impl SetChatPermissions
Sourcepub fn use_independent_chat_permissions(self, v: bool) -> Self
pub fn use_independent_chat_permissions(self, v: bool) -> Self
Sets whether permissions are applied independently (supergroups only).
Trait Implementations§
Source§impl IntoFuture for SetChatPermissions
impl IntoFuture for SetChatPermissions
Source§type IntoFuture = Pin<Box<dyn Future<Output = <SetChatPermissions as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <SetChatPermissions 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 Freeze for SetChatPermissions
impl !RefUnwindSafe for SetChatPermissions
impl Send for SetChatPermissions
impl Sync for SetChatPermissions
impl Unpin for SetChatPermissions
impl UnsafeUnpin for SetChatPermissions
impl !UnwindSafe for SetChatPermissions
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