pub struct MicroformatData {Show 19 fields
pub available_countries: Option<Vec<String>>,
pub category: Option<String>,
pub description: Option<String>,
pub embed: Option<MicroformatEmbed>,
pub external_channel_id: Option<String>,
pub external_video_id: Option<String>,
pub has_ypc_metadata: Option<bool>,
pub is_family_safe: Option<bool>,
pub is_shorts_eligible: Option<bool>,
pub is_unlisted: Option<bool>,
pub length_seconds: Option<String>,
pub like_count: Option<String>,
pub owner_channel_name: Option<String>,
pub owner_profile_url: Option<String>,
pub publish_date: Option<String>,
pub thumbnail: Option<MicroformatThumbnail>,
pub title: Option<String>,
pub upload_date: Option<String>,
pub view_count: Option<String>,
}
Expand description
Represents microformat data for a YouTube video
Fields§
§available_countries: Option<Vec<String>>
Countries where the video is available
category: Option<String>
Category of the video
description: Option<String>
Description of the video
embed: Option<MicroformatEmbed>
Embed information
external_channel_id: Option<String>
External channel ID
external_video_id: Option<String>
External video ID
has_ypc_metadata: Option<bool>
Whether the video has YPC metadata
is_family_safe: Option<bool>
Whether the video is family safe
is_shorts_eligible: Option<bool>
Whether the video is eligible for Shorts
is_unlisted: Option<bool>
Whether the video is unlisted
length_seconds: Option<String>
Duration of the video in seconds
like_count: Option<String>
Number of likes
owner_channel_name: Option<String>
Name of the channel owner
owner_profile_url: Option<String>
URL to the owner’s profile
publish_date: Option<String>
Date when the video was published
thumbnail: Option<MicroformatThumbnail>
Thumbnail information
title: Option<String>
Title of the video
upload_date: Option<String>
Date when the video was uploaded
view_count: Option<String>
Number of views
Trait Implementations§
Source§impl Clone for MicroformatData
impl Clone for MicroformatData
Source§fn clone(&self) -> MicroformatData
fn clone(&self) -> MicroformatData
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MicroformatData
impl Debug for MicroformatData
Source§impl<'de> Deserialize<'de> for MicroformatData
impl<'de> Deserialize<'de> for MicroformatData
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 MicroformatData
impl RefUnwindSafe for MicroformatData
impl Send for MicroformatData
impl Sync for MicroformatData
impl Unpin for MicroformatData
impl UnwindSafe for MicroformatData
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