[][src]Struct tbot::methods::SetInlineGameScore

#[must_use = "methods do nothing unless turned into a future"]pub struct SetInlineGameScore<'a> { /* fields omitted */ }

Sets a user's new high score in a game sent via the inline mode.

Reflects the setGameScore method.


impl<'a> SetInlineGameScore<'a>[src]

pub fn is_forced(self, is_forced: bool) -> Self[src]

Configures if the score may go down. Reflects the force parameter.

pub fn is_editing_message_disabled(self, is_disabled: bool) -> Self[src]

Configures if the message should not be edited immediately. Reflects the disable_edit_message parameter.

impl<'_> SetInlineGameScore<'_>[src]

pub async fn call(self) -> Result<(), MethodCall>[src]

Calls the method.

Trait Implementations

impl<'a> Clone for SetInlineGameScore<'a>[src]

impl<'a> Debug for SetInlineGameScore<'a>[src]

impl<'a> Serialize for SetInlineGameScore<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for SetInlineGameScore<'a>

impl<'a> Send for SetInlineGameScore<'a>

impl<'a> Sync for SetInlineGameScore<'a>

impl<'a> Unpin for SetInlineGameScore<'a>

impl<'a> !UnwindSafe for SetInlineGameScore<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithSubscriber for T[src]