pub struct LiveRoom {
pub room_status: u8,
pub live_status: u8,
pub url: String,
pub title: String,
pub cover: String,
pub watched_show: WatchedShow,
pub roomid: u64,
pub round_status: u8,
pub broadcast_type: u8,
}Expand description
直播间信息
Fields§
§room_status: u8直播间状态 0:无房间 1:有房间
live_status: u8直播状态 0:未开播 1:直播中
url: String直播间网页url
title: String直播间标题
cover: String直播间封面url
watched_show: WatchedShow观看显示信息
roomid: u64直播间id
round_status: u8轮播状态 0:未轮播 1:轮播
broadcast_type: u8广播类型
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LiveRoom
impl<'de> Deserialize<'de> for LiveRoom
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LiveRoom
impl RefUnwindSafe for LiveRoom
impl Send for LiveRoom
impl Sync for LiveRoom
impl Unpin for LiveRoom
impl UnwindSafe for LiveRoom
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