pub struct InteractiveVideoQuestion {
pub id: u64,
pub question_type: u8,
pub start_time_r: u32,
pub duration: i64,
pub pause_video: u8,
pub title: String,
pub choices: Vec<InteractiveVideoChoice>,
}Expand description
问题信息
Fields§
§id: u64作用尚不明确
question_type: u8选项显示模式, 0: 不显示选项, 1: 底部选项模式, 2: 坐标定点模式
start_time_r: u32作用尚不明确
duration: i64回答限时,单位为毫秒,不限时为-1
pause_video: u8是否暂停播放视频, 0: 不暂停, 1: 暂停播放
title: String作用尚不明确
choices: Vec<InteractiveVideoChoice>选项列表
Trait Implementations§
Source§impl Clone for InteractiveVideoQuestion
impl Clone for InteractiveVideoQuestion
Source§fn clone(&self) -> InteractiveVideoQuestion
fn clone(&self) -> InteractiveVideoQuestion
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 InteractiveVideoQuestion
impl Debug for InteractiveVideoQuestion
Source§impl<'de> Deserialize<'de> for InteractiveVideoQuestion
impl<'de> Deserialize<'de> for InteractiveVideoQuestion
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 InteractiveVideoQuestion
impl RefUnwindSafe for InteractiveVideoQuestion
impl Send for InteractiveVideoQuestion
impl Sync for InteractiveVideoQuestion
impl Unpin for InteractiveVideoQuestion
impl UnwindSafe for InteractiveVideoQuestion
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