pub struct UnhideGeneralForumTopicRequest<'a> { /* private fields */ }Expand description
Use this method to unhide the ‘General’ topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. Returns True on success.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for UnhideGeneralForumTopicRequest<'a>
impl<'a> Clone for UnhideGeneralForumTopicRequest<'a>
Source§fn clone(&self) -> UnhideGeneralForumTopicRequest<'a>
fn clone(&self) -> UnhideGeneralForumTopicRequest<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a, 'b> IntoFuture for &'b UnhideGeneralForumTopicRequest<'a>
impl<'a, 'b> IntoFuture for &'b UnhideGeneralForumTopicRequest<'a>
Source§type IntoFuture = Pin<Box<dyn Future<Output = Result<<UnhideGeneralForumTopicRequest<'a> as RequestT>::ReturnType, ConogramError>> + Send + 'b>>
type IntoFuture = Pin<Box<dyn Future<Output = Result<<UnhideGeneralForumTopicRequest<'a> as RequestT>::ReturnType, ConogramError>> + Send + 'b>>
Which kind of future are we turning this into?
Source§type Output = <<&'b UnhideGeneralForumTopicRequest<'a> as IntoFuture>::IntoFuture as Future>::Output
type Output = <<&'b UnhideGeneralForumTopicRequest<'a> as IntoFuture>::IntoFuture as Future>::Output
The output that the future will produce on completion.
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Source§impl<'a> IntoFuture for UnhideGeneralForumTopicRequest<'a>
impl<'a> IntoFuture for UnhideGeneralForumTopicRequest<'a>
Source§type IntoFuture = Pin<Box<dyn Future<Output = Result<<UnhideGeneralForumTopicRequest<'a> as RequestT>::ReturnType, ConogramError>> + Send + 'a>>
type IntoFuture = Pin<Box<dyn Future<Output = Result<<UnhideGeneralForumTopicRequest<'a> as RequestT>::ReturnType, ConogramError>> + Send + 'a>>
Which kind of future are we turning this into?
Source§type Output = <<UnhideGeneralForumTopicRequest<'a> as IntoFuture>::IntoFuture as Future>::Output
type Output = <<UnhideGeneralForumTopicRequest<'a> as IntoFuture>::IntoFuture as Future>::Output
The output that the future will produce on completion.
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<'a> Freeze for UnhideGeneralForumTopicRequest<'a>
impl<'a> !RefUnwindSafe for UnhideGeneralForumTopicRequest<'a>
impl<'a> Send for UnhideGeneralForumTopicRequest<'a>
impl<'a> Sync for UnhideGeneralForumTopicRequest<'a>
impl<'a> Unpin for UnhideGeneralForumTopicRequest<'a>
impl<'a> UnsafeUnpin for UnhideGeneralForumTopicRequest<'a>
impl<'a> !UnwindSafe for UnhideGeneralForumTopicRequest<'a>
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