pub struct VideoInfo {Show 19 fields
pub title: String,
pub description: String,
pub dash: Option<String>,
pub upload_date: String,
pub uploader: String,
pub uploader_url: String,
pub uploader_avatar: String,
pub thumbnail_url: String,
pub hls: String,
pub duration: i32,
pub views: i64,
pub likes: i64,
pub lbry_id: Option<String>,
pub dislikes: i64,
pub audio_streams: Vec<Stream>,
pub video_streams: Vec<Stream>,
pub related_streams: Vec<RelatedStream>,
pub subtitles: Vec<Subtitle>,
pub livestream: bool,
}Fields§
§title: String§description: String§dash: Option<String>§upload_date: String§uploader: String§uploader_url: String§uploader_avatar: String§thumbnail_url: String§hls: String§duration: i32§views: i64§likes: i64§lbry_id: Option<String>§dislikes: i64§audio_streams: Vec<Stream>§video_streams: Vec<Stream>§subtitles: Vec<Subtitle>§livestream: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for VideoInfo
impl<'de> Deserialize<'de> for VideoInfo
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 VideoInfo
impl RefUnwindSafe for VideoInfo
impl Send for VideoInfo
impl Sync for VideoInfo
impl Unpin for VideoInfo
impl UnwindSafe for VideoInfo
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