pub struct Video {
pub id: i64,
pub owner_id: i64,
pub title: String,
pub description: Option<String>,
pub duration: i32,
pub image: Vec<VideoImage>,
pub first_frame: Vec<VideoImage>,
pub date: i64,
pub views: Option<i32>,
pub comments: Option<i32>,
pub access_key: Option<String>,
pub player: Option<String>,
}Expand description
Video attachment
Fields§
§id: i64Video ID
owner_id: i64Owner ID
title: StringTitle
description: Option<String>Description
duration: i32Duration
image: Vec<VideoImage>Images
first_frame: Vec<VideoImage>First frame images
date: i64Date
views: Option<i32>Views
comments: Option<i32>Comments
access_key: Option<String>Access key
player: Option<String>Player URL
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Video
impl<'de> Deserialize<'de> for Video
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 Video
impl RefUnwindSafe for Video
impl Send for Video
impl Sync for Video
impl Unpin for Video
impl UnwindSafe for Video
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