pub struct UserSpaceLiveRoom {
pub room_status: u8,
pub live_status: u8,
pub url: String,
pub title: String,
pub room_id: u64,
}Expand description
用户空间载荷中嵌入的直播间字段。
Fields§
§room_status: u8该用户是否存在直播间。
live_status: u8直播间当前是否开播。
url: String直播间 URL。
title: String直播间标题。
room_id: u64直播间 ID。
Trait Implementations§
Source§impl Clone for UserSpaceLiveRoom
impl Clone for UserSpaceLiveRoom
Source§fn clone(&self) -> UserSpaceLiveRoom
fn clone(&self) -> UserSpaceLiveRoom
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 UserSpaceLiveRoom
impl Debug for UserSpaceLiveRoom
Source§impl<'de> Deserialize<'de> for UserSpaceLiveRoom
impl<'de> Deserialize<'de> for UserSpaceLiveRoom
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 Eq for UserSpaceLiveRoom
Source§impl PartialEq for UserSpaceLiveRoom
impl PartialEq for UserSpaceLiveRoom
Source§fn eq(&self, other: &UserSpaceLiveRoom) -> bool
fn eq(&self, other: &UserSpaceLiveRoom) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UserSpaceLiveRoom
impl Serialize for UserSpaceLiveRoom
impl StructuralPartialEq for UserSpaceLiveRoom
Auto Trait Implementations§
impl Freeze for UserSpaceLiveRoom
impl RefUnwindSafe for UserSpaceLiveRoom
impl Send for UserSpaceLiveRoom
impl Sync for UserSpaceLiveRoom
impl Unpin for UserSpaceLiveRoom
impl UnsafeUnpin for UserSpaceLiveRoom
impl UnwindSafe for UserSpaceLiveRoom
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