twitch_api2 0.6.1

Library for talking with the new Twitch API aka. "Helix", TMI and more!
Documentation
//! Helix endpoints regarding subscriptions

use crate::{
    helix::{self, Request},
    types,
};
use serde::{Deserialize, Serialize};

pub mod get_channel_teams;
pub mod get_teams;

/// Information about a team. Get team members with [`GetChannelTeamsRequest`](get_channel_teams::GetChannelTeamsRequest)
#[derive(PartialEq, Deserialize, Serialize, Debug, Clone)]
#[cfg_attr(feature = "deny_unknown_fields", serde(deny_unknown_fields))]
#[non_exhaustive]
pub struct TeamInformation {
    /// URL of the Team background image.
    pub background_image_url: Option<String>,
    /// URL for the Team banner.
    pub banner: Option<String>,
    /// Date and time the Team was created.
    pub created_at: types::Timestamp,
    /// Date and time the Team was last updated.
    pub updated_at: types::Timestamp,
    /// Team description.
    pub info: String,
    /// Image URL for the Team logo.
    pub thumbnail_url: String,
    /// Team name.
    pub team_name: String,
    /// Team display name.
    pub team_display_name: String,
    /// Team ID.
    pub id: types::TeamId,
}