pub struct ApproveSuggestedPost { /* private fields */ }Expand description
Builder for the approveSuggestedPost method.
Approves a suggested post in a direct messages chat.
Requires the can_post_messages administrator right in the corresponding channel.
Implementations§
Trait Implementations§
Source§impl IntoFuture for ApproveSuggestedPost
impl IntoFuture for ApproveSuggestedPost
Source§type IntoFuture = Pin<Box<dyn Future<Output = <ApproveSuggestedPost as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <ApproveSuggestedPost 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 ApproveSuggestedPost
impl !UnwindSafe for ApproveSuggestedPost
impl Freeze for ApproveSuggestedPost
impl Send for ApproveSuggestedPost
impl Sync for ApproveSuggestedPost
impl Unpin for ApproveSuggestedPost
impl UnsafeUnpin for ApproveSuggestedPost
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