pub struct RcmdReason {
pub reason_type: u8,
pub content: Option<String>,
}Expand description
首页推荐视频列表项中的推荐理由
Fields§
§reason_type: u8原因类型, 0: 无, 1: 已关注, 3: 高点赞量
content: Option<String>原因描述
Trait Implementations§
Source§impl Clone for RcmdReason
impl Clone for RcmdReason
Source§fn clone(&self) -> RcmdReason
fn clone(&self) -> RcmdReason
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 RcmdReason
impl Debug for RcmdReason
Source§impl<'de> Deserialize<'de> for RcmdReason
impl<'de> Deserialize<'de> for RcmdReason
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 RcmdReason
impl RefUnwindSafe for RcmdReason
impl Send for RcmdReason
impl Sync for RcmdReason
impl Unpin for RcmdReason
impl UnsafeUnpin for RcmdReason
impl UnwindSafe for RcmdReason
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