pub struct RoomState {
pub slow: Option<u32>,
pub followers: Option<i32>,
pub emote_only: Option<bool>,
pub subs_only: Option<bool>,
}Expand description
a channel’s chat modes as one ROOMSTATE carried them: None = the tag was
absent, i.e. unchanged (twitch’s later ROOMSTATEs list only what changed).
followers is minutes (-1 = off, 0 = any follower).
Fields§
§slow: Option<u32>§followers: Option<i32>§emote_only: Option<bool>§subs_only: Option<bool>Trait Implementations§
impl Copy for RoomState
impl Eq for RoomState
impl StructuralPartialEq for RoomState
Auto Trait Implementations§
impl Forget for RoomState
impl Freeze for RoomState
impl Move for RoomState
impl RefUnwindSafe for RoomState
impl Send for RoomState
impl Sync for RoomState
impl Unpin for RoomState
impl UnsafeUnpin for RoomState
impl UnwindSafe for RoomState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more