pub struct OpusLiveCard {
pub alt: String,
pub height: i32,
pub id: String,
pub size: Option<Value>,
pub status: String,
pub tid: i32,
pub url: String,
pub width: i32,
}Expand description
Opus直播卡片
Fields§
§alt: String备用文本
height: i32卡片高度
id: String直播间ID
size: Option<Value>大小
status: String状态
tid: i32类型ID
url: String卡片图片URL
width: i32卡片宽度
Trait Implementations§
Source§impl Clone for OpusLiveCard
impl Clone for OpusLiveCard
Source§fn clone(&self) -> OpusLiveCard
fn clone(&self) -> OpusLiveCard
Returns a duplicate of the value. Read more
1.0.0 · 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 OpusLiveCard
impl Debug for OpusLiveCard
Source§impl<'de> Deserialize<'de> for OpusLiveCard
impl<'de> Deserialize<'de> for OpusLiveCard
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 OpusLiveCard
impl RefUnwindSafe for OpusLiveCard
impl Send for OpusLiveCard
impl Sync for OpusLiveCard
impl Unpin for OpusLiveCard
impl UnwindSafe for OpusLiveCard
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