pub struct ContributedVideo {Show 35 fields
pub aid: u64,
pub attribute: u64,
pub author: String,
pub bvid: String,
pub comment: u64,
pub copyright: String,
pub created: u64,
pub description: String,
pub elec_arc_type: u8,
pub enable_vt: u8,
pub hide_click: bool,
pub is_avoided: u8,
pub is_charging_arc: bool,
pub is_lesson_video: u8,
pub is_lesson_finished: u8,
pub is_live_playback: u8,
pub is_pay: u8,
pub is_self_view: bool,
pub is_steins_gate: u8,
pub is_union_video: u8,
pub jump_url: Option<String>,
pub length: String,
pub mid: u64,
pub meta: Option<VideoMeta>,
pub pic: String,
pub play: u64,
pub playback_position: u64,
pub review: u64,
pub season_id: u64,
pub subtitle: String,
pub title: String,
pub typeid: u64,
pub video_review: u64,
pub vt: u64,
pub vt_display: String,
}Expand description
投稿视频列表项
Fields§
§aid: u64§attribute: u64§bvid: String§comment: u64§copyright: String§created: u64§description: String§elec_arc_type: u8§enable_vt: u8§hide_click: bool§is_avoided: u8§is_charging_arc: bool§is_lesson_video: u8§is_lesson_finished: u8§is_live_playback: u8§is_pay: u8§is_self_view: bool§is_steins_gate: u8§is_union_video: u8§jump_url: Option<String>§length: String§mid: u64§meta: Option<VideoMeta>§pic: String§play: u64§playback_position: u64§review: u64§season_id: u64§subtitle: String§title: String§typeid: u64§video_review: u64§vt: u64§vt_display: StringTrait Implementations§
Source§impl Clone for ContributedVideo
impl Clone for ContributedVideo
Source§fn clone(&self) -> ContributedVideo
fn clone(&self) -> ContributedVideo
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 ContributedVideo
impl Debug for ContributedVideo
Source§impl<'de> Deserialize<'de> for ContributedVideo
impl<'de> Deserialize<'de> for ContributedVideo
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 ContributedVideo
impl RefUnwindSafe for ContributedVideo
impl Send for ContributedVideo
impl Sync for ContributedVideo
impl Unpin for ContributedVideo
impl UnsafeUnpin for ContributedVideo
impl UnwindSafe for ContributedVideo
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