pub struct CommentaryInput {
pub video_metadata: VideoMetadata,
pub style: CommentaryStyle,
pub language: String,
pub max_length: Option<usize>,
pub min_length: Option<usize>,
pub custom_instructions: Option<String>,
pub include_timestamps: bool,
pub include_keywords: bool,
}Expand description
Commentary input structure
Fields§
§video_metadata: VideoMetadataVideo metadata
style: CommentaryStyleCommentary style
language: StringTarget language
max_length: Option<usize>Maximum commentary length in characters
min_length: Option<usize>Minimum commentary length in characters
custom_instructions: Option<String>Custom prompts or instructions
include_timestamps: boolWhether to include timestamps
include_keywords: boolWhether to include keywords
Trait Implementations§
Source§impl Clone for CommentaryInput
impl Clone for CommentaryInput
Source§fn clone(&self) -> CommentaryInput
fn clone(&self) -> CommentaryInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CommentaryInput
impl Debug for CommentaryInput
Source§impl Default for CommentaryInput
impl Default for CommentaryInput
Source§impl<'de> Deserialize<'de> for CommentaryInput
impl<'de> Deserialize<'de> for CommentaryInput
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 CommentaryInput
impl RefUnwindSafe for CommentaryInput
impl Send for CommentaryInput
impl Sync for CommentaryInput
impl Unpin for CommentaryInput
impl UnsafeUnpin for CommentaryInput
impl UnwindSafe for CommentaryInput
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