pub struct RoomInfoData {Show 30 fields
pub uid: i64,
pub room_id: i64,
pub short_id: i64,
pub attention: i64,
pub online: i64,
pub is_portrait: bool,
pub description: String,
pub live_status: i32,
pub area_id: i32,
pub parent_area_id: i32,
pub parent_area_name: String,
pub old_area_id: i32,
pub background: String,
pub title: String,
pub user_cover: String,
pub keyframe: String,
pub live_time: String,
pub tags: String,
pub room_silent_type: String,
pub room_silent_level: i32,
pub room_silent_second: i64,
pub area_name: String,
pub hot_words: Vec<String>,
pub hot_words_status: i32,
pub new_pendants: RoomPendants,
pub pk_status: i32,
pub pk_id: i64,
pub allow_change_area_time: i64,
pub allow_upload_cover_time: i64,
pub studio_info: Option<RoomStudioInfo>,
}Fields§
§uid: i64主播mid
room_id: i64直播间长号
short_id: i64直播间短号
attention: i64关注数量
online: i64观看人数
is_portrait: bool是否竖屏
description: String描述
live_status: i32直播状态
area_id: i32分区id
parent_area_id: i32父分区id
parent_area_name: String父分区名称
old_area_id: i32旧版分区id
background: String背景图片链接
title: String标题
user_cover: String封面
keyframe: String关键帧
live_time: String直播开始时间
标签
room_silent_type: String禁言状态
room_silent_level: i32禁言等级
room_silent_second: i64禁言时间
area_name: String分区名称
hot_words: Vec<String>热词
hot_words_status: i32热词状态
new_pendants: RoomPendants头像框\大v
pk_status: i32pk状态
pk_id: i64pk id
allow_change_area_time: i64允许更改分区时间
allow_upload_cover_time: i64允许上传封面时间
studio_info: Option<RoomStudioInfo>工作室信息
Trait Implementations§
Source§impl Clone for RoomInfoData
impl Clone for RoomInfoData
Source§fn clone(&self) -> RoomInfoData
fn clone(&self) -> RoomInfoData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RoomInfoData
impl Debug for RoomInfoData
Source§impl<'de> Deserialize<'de> for RoomInfoData
impl<'de> Deserialize<'de> for RoomInfoData
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 RoomInfoData
impl RefUnwindSafe for RoomInfoData
impl Send for RoomInfoData
impl Sync for RoomInfoData
impl Unpin for RoomInfoData
impl UnsafeUnpin for RoomInfoData
impl UnwindSafe for RoomInfoData
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