twitch_highway 0.3.2

Twitch API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use serde::{Deserialize, Serialize};

use crate::types::ChoiceId;

#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Choice {
    pub id: ChoiceId,
    pub title: String,
    pub votes: u64,
    pub channel_points_votes: u64,
    /// Not used, will be set to 0.
    pub bits_votes: u64,
}