pub struct CourseVideoStreamData {
pub base: VideoStreamData,
pub seek_param: String,
pub video_project: bool,
pub data_type: String,
pub result: String,
pub seek_type: String,
pub from: String,
pub no_rexcode: i32,
pub message: String,
pub fragment_videos: Option<Vec<FragmentVideo>>,
pub status: i32,
}Expand description
课程视频流数据
Fields§
§base: VideoStreamData§seek_param: String定位参数
video_project: bool是否为视频项目
data_type: String数据类型
result: String结果状态
seek_type: String定位类型
from: String来源
no_rexcode: i32是否重编码
message: String响应消息
fragment_videos: Option<Vec<FragmentVideo>>分片视频信息
status: i32状态码
Trait Implementations§
Source§impl Clone for CourseVideoStreamData
impl Clone for CourseVideoStreamData
Source§fn clone(&self) -> CourseVideoStreamData
fn clone(&self) -> CourseVideoStreamData
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 CourseVideoStreamData
impl Debug for CourseVideoStreamData
Source§impl<'de> Deserialize<'de> for CourseVideoStreamData
impl<'de> Deserialize<'de> for CourseVideoStreamData
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 CourseVideoStreamData
impl RefUnwindSafe for CourseVideoStreamData
impl Send for CourseVideoStreamData
impl Sync for CourseVideoStreamData
impl Unpin for CourseVideoStreamData
impl UnwindSafe for CourseVideoStreamData
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