pub struct VideoConfig {
pub title: String,
pub description: String,
pub keywords: String,
pub file: String,
pub category: VideoCategory,
pub privacy_status: PrivacyStatus,
pub playlist_id: String,
pub default_audio_language: String,
pub default_language: String,
pub recording_date: String,
}Expand description
Configuration for a single video (individual format).
Fields§
§title: StringVideo title
description: StringVideo description
keywords: StringComma-separated keywords/tags
file: StringPath to video file
category: VideoCategoryVideo category
privacy_status: PrivacyStatusPrivacy status
playlist_id: StringPlaylist ID
default_audio_language: StringDefault audio language for the video
default_language: StringDefault language for the video
recording_date: StringRecording date for the video
Trait Implementations§
Source§impl Clone for VideoConfig
impl Clone for VideoConfig
Source§fn clone(&self) -> VideoConfig
fn clone(&self) -> VideoConfig
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 VideoConfig
impl Debug for VideoConfig
Source§impl<'de> Deserialize<'de> for VideoConfig
impl<'de> Deserialize<'de> for VideoConfig
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
Source§impl Serialize for VideoConfig
impl Serialize for VideoConfig
Source§impl Validate for VideoConfig
impl Validate for VideoConfig
Source§impl<'v_a> ValidateArgs<'v_a> for VideoConfig
impl<'v_a> ValidateArgs<'v_a> for VideoConfig
Auto Trait Implementations§
impl Freeze for VideoConfig
impl RefUnwindSafe for VideoConfig
impl Send for VideoConfig
impl Sync for VideoConfig
impl Unpin for VideoConfig
impl UnsafeUnpin for VideoConfig
impl UnwindSafe for VideoConfig
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