[][src]Enum kahoot::message::Message

pub enum Message {
    GetReady {
        msg: GetReadyMessage,
    },
    StartQuestion {
        msg: StartQuestionMessage,
    },
    GameOver {
        msg: Box<GameOverMessage>,
        cid: String,
    },
    TimeUp {
        msg: TimeUpMessage,
    },
    PlayAgain {
        msg: PlayAgainMessage,
    },
    RevealAnswer {
        msg: Box<RevealAnswerMessage>,
    },
    StartQuiz {
        msg: StartQuizMessage,
    },
    Feedback {
        msg: FeedbackMessage,
    },
    RevealRanking {
        msg: RevealRankingMessage,
        cid: String,
    },
    UsernameAccepted {
        msg: UsernameAcceptedMessage,
        cid: String,
    },
    Unknown(Value),
}

Variants

GetReady

Fields of GetReady

msg: GetReadyMessage
StartQuestion

Fields of StartQuestion

msg: StartQuestionMessage
GameOver

Fields of GameOver

msg: Box<GameOverMessage>cid: String
TimeUp

Fields of TimeUp

msg: TimeUpMessage
PlayAgain

Fields of PlayAgain

msg: PlayAgainMessage
RevealAnswer

Fields of RevealAnswer

msg: Box<RevealAnswerMessage>
StartQuiz

Fields of StartQuiz

msg: StartQuizMessage
Feedback

Fields of Feedback

msg: FeedbackMessage
RevealRanking

Fields of RevealRanking

msg: RevealRankingMessagecid: String
UsernameAccepted

Fields of UsernameAccepted

msg: UsernameAcceptedMessagecid: String
Unknown(Value)

Implementations

impl Message[src]

pub fn from_value(value: Value) -> Self[src]

Trait Implementations

impl Debug for Message[src]

Auto Trait Implementations

impl RefUnwindSafe for Message

impl Send for Message

impl Sync for Message

impl Unpin for Message

impl UnwindSafe for Message

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,