twitch_types/
moderation.rsmanual_braid! {
pub struct BlockedTermId;
pub struct BlockedTermIdRef;
}
impl_extra!(BlockedTermId, BlockedTermIdRef);
manual_braid! {
pub struct UnbanRequestId;
pub struct UnbanRequestIdRef;
}
impl_extra!(UnbanRequestId, UnbanRequestIdRef);
#[derive(PartialEq, Eq, Debug, Clone)]
#[cfg_attr(
feature = "serde",
derive(serde_derive::Serialize, serde_derive::Deserialize)
)]
#[cfg_attr(feature = "deny_unknown_fields", serde(deny_unknown_fields))]
#[cfg_attr(feature = "serde", serde(rename_all = "UPPERCASE"))]
#[non_exhaustive]
pub enum AutomodStatus {
Pending,
Allowed,
Denied,
Expired,
}
pub use crate::basic::{MsgId, MsgIdRef};