#[repr(u32)]pub enum RelationSource {
Show 18 variants
MonthlyCharge = 1,
Space = 11,
Video = 14,
Comment = 15,
VideoEndPage = 17,
H5Recommend = 58,
H5FollowingList = 106,
H5FanList = 107,
Article = 115,
Message = 118,
Search = 120,
VideoPlayerButton = 164,
H5CommonFollow = 167,
CreativeIncentive = 192,
ActivityPage = 222,
JointVideo = 229,
MessageCenterLike = 235,
VideoPlayerDanmaku = 245,
}Expand description
关注来源代码
用于 re_src 参数,表示关注操作的来源。
Variants§
MonthlyCharge = 1
包月充电
Space = 11
个人空间
Video = 14
视频
Comment = 15
评论区
VideoEndPage = 17
视频播放器结束页面
H5Recommend = 58
H5推荐关注
H5FollowingList = 106
H5关注列表
H5FanList = 107
H5粉丝列表
Article = 115
专栏
Message = 118
私信
Search = 120
搜索
VideoPlayerButton = 164
视频播放器左上角关注按钮
H5CommonFollow = 167
H5共同关注
CreativeIncentive = 192
创作激励计划
ActivityPage = 222
活动页面
JointVideo = 229
联合投稿视频
MessageCenterLike = 235
消息中心点赞详情
VideoPlayerDanmaku = 245
视频播放器关注弹幕
Trait Implementations§
Source§impl Clone for RelationSource
impl Clone for RelationSource
Source§fn clone(&self) -> RelationSource
fn clone(&self) -> RelationSource
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 moreimpl Copy for RelationSource
Source§impl Debug for RelationSource
impl Debug for RelationSource
Source§impl<'de> Deserialize<'de> for RelationSource
impl<'de> Deserialize<'de> for RelationSource
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 RelationSource
Source§impl PartialEq for RelationSource
impl PartialEq for RelationSource
Source§fn eq(&self, other: &RelationSource) -> bool
fn eq(&self, other: &RelationSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RelationSource
impl Serialize for RelationSource
impl StructuralPartialEq for RelationSource
Auto Trait Implementations§
impl Freeze for RelationSource
impl RefUnwindSafe for RelationSource
impl Send for RelationSource
impl Sync for RelationSource
impl Unpin for RelationSource
impl UnsafeUnpin for RelationSource
impl UnwindSafe for RelationSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.