pub struct LiveUser {Show 17 fields
pub area: i64,
pub area_v2_id: i64,
pub attentions: i64,
pub cate_name: String,
pub hit_columns: Vec<String>,
pub is_live: bool,
pub live_status: i64,
pub live_time: String,
pub rank_index: i64,
pub rank_offset: i64,
pub room_id: i64,
pub tags: String,
pub type_field: String,
pub uface: String,
pub uid: i64,
pub uname: String,
pub id: Option<i64>,
}Fields§
§area: i64所在分区ID
area_v2_id: i64所在分区v2 ID
attentions: i64关注数
cate_name: String分区名称
hit_columns: Vec<String>命中列
is_live: bool是否正在直播
live_status: i64直播状态
live_time: String直播开始时间
rank_index: i64排名索引
rank_offset: i64排名偏移
room_id: i64直播间ID
标签
type_field: String类型字段
uface: String头像
uid: i64用户ID
uname: String用户名
id: Option<i64>可选字段:仅 LiveUser2 有的 id
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LiveUser
impl<'de> Deserialize<'de> for LiveUser
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
impl StructuralPartialEq for LiveUser
Auto Trait Implementations§
impl Freeze for LiveUser
impl RefUnwindSafe for LiveUser
impl Send for LiveUser
impl Sync for LiveUser
impl Unpin for LiveUser
impl UnsafeUnpin for LiveUser
impl UnwindSafe for LiveUser
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