pub struct VideoRights {}Expand description
视频权限信息
Fields§
§arc_pay: i32是否付费
autoplay: i32是否自动播放
bp: i32是否可充电
download: i32是否可下载
elec: i32是否可充电
hd5: i32是否高清
is_cooperation: i32是否合作视频
movie: i32是否电影
no_background: i32是否无背景
no_reprint: i32是否禁止转载
pay: i32是否付费
pay_free_watch: i32是否付费观看
ugc_pay: i32是否UGC付费
ugc_pay_preview: i32是否UGC付费预览
Trait Implementations§
Source§impl Clone for VideoRights
impl Clone for VideoRights
Source§fn clone(&self) -> VideoRights
fn clone(&self) -> VideoRights
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 VideoRights
impl Debug for VideoRights
Source§impl<'de> Deserialize<'de> for VideoRights
impl<'de> Deserialize<'de> for VideoRights
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 VideoRights
impl RefUnwindSafe for VideoRights
impl Send for VideoRights
impl Sync for VideoRights
impl Unpin for VideoRights
impl UnsafeUnpin for VideoRights
impl UnwindSafe for VideoRights
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