reydenx 0.1.7

Implementation of the Reyden-X API. Reyden-X is an automated service for promoting live broadcasts on external sites with integrated system of viewers and views management.
Documentation
use std::fmt::{Debug, Display};

#[derive(Debug)]
pub enum Platform {
    Twitch,
    YouTube,
    GoodGame,
    Trovo,
    VkPlay,
    Kick,
}

impl Display for Platform {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        match self {
            Platform::Twitch => write!(f, "twitch"),
            Platform::YouTube => write!(f, "youtube"),
            Platform::GoodGame => write!(f, "goodgame"),
            Platform::Trovo => write!(f, "trovo"),
            Platform::VkPlay => write!(f, "vkplay"),
            Platform::Kick => write!(f, "kick"),
        }
    }
}