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