pub struct StopPoll { /* private fields */ }Expand description
Builder for the stopPoll method.
Implementations§
Source§impl StopPoll
impl StopPoll
Sourcepub fn reply_markup(self, m: InlineKeyboardMarkup) -> Self
pub fn reply_markup(self, m: InlineKeyboardMarkup) -> Self
Attaches a reply markup (inline keyboard, reply keyboard, etc.).
Sourcepub fn business_connection_id(self, v: impl Into<String>) -> Self
pub fn business_connection_id(self, v: impl Into<String>) -> Self
Business connection ID for acting on behalf of a business account.
Trait Implementations§
Source§impl IntoFuture for StopPoll
impl IntoFuture for StopPoll
Source§type IntoFuture = Pin<Box<dyn Future<Output = <StopPoll as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <StopPoll 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 StopPoll
impl !UnwindSafe for StopPoll
impl Freeze for StopPoll
impl Send for StopPoll
impl Sync for StopPoll
impl Unpin for StopPoll
impl UnsafeUnpin for StopPoll
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