#![doc(alias = "live")]
use crate::{
helix::{self, Request},
types,
};
use serde::{Deserialize, Serialize};
#[doc(inline)]
pub use get_followed_streams::GetFollowedStreamsRequest;
#[doc(inline)]
pub use get_stream_tags::{GetStreamTagsRequest, Tag};
#[doc(inline)]
pub use get_streams::{GetStreamsRequest, Stream};
#[doc(inline)]
pub use replace_stream_tags::{ReplaceStreamTags, ReplaceStreamTagsBody, ReplaceStreamTagsRequest};
pub mod get_followed_streams;
pub mod get_stream_tags;
pub mod get_streams;
pub mod replace_stream_tags;
#[derive(PartialEq, Deserialize, Serialize, Debug, Clone)]
#[non_exhaustive]
pub enum StreamType {
#[serde(rename = "live")]
Live,
#[serde(other)]
NotLive,
}
impl StreamType {
pub fn is_live(&self) -> bool { matches!(self, StreamType::Live) }
}