pub struct SerpApiYoutubeVideoSubtitlesTaskPostRequest {Show 14 fields
pub video_id: String,
pub priority: Option<i32>,
pub location_name: Option<String>,
pub location_code: i32,
pub language_name: Option<String>,
pub language_code: String,
pub device: Option<String>,
pub os: Option<String>,
pub subtitles_language: Option<String>,
pub subtitles_translate_language: Option<String>,
pub tag: Option<String>,
pub postback_url: Option<String>,
pub postback_data: Option<String>,
pub pingback_url: Option<String>,
}Expand description
Request body for YouTube Video Subtitles task_post / live. See https://docs.dataforseo.com/v3/serp/youtube/video_subtitles/task_post/.
Fields§
§video_id: StringYouTube video identifier.
priority: Option<i32>Task execution priority: 1 (normal) or 2 (high).
location_name: Option<String>Full location name (e.g. “London,England,United Kingdom”).
location_code: i32DataForSEO location code the search was run for.
language_name: Option<String>Full language name of the search.
language_code: StringLanguage code the search was run for.
device: Option<String>Device.
os: Option<String>Os.
subtitles_language: Option<String>Subtitles language.
subtitles_translate_language: Option<String>Subtitles translate language.
tag: Option<String>User-defined identifier echoed back on the result.
postback_url: Option<String>URL of the postback.
postback_data: Option<String>Postback data.
pingback_url: Option<String>URL of the pingback.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SerpApiYoutubeVideoSubtitlesTaskPostRequest
impl<'de> Deserialize<'de> for SerpApiYoutubeVideoSubtitlesTaskPostRequest
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 SerpApiYoutubeVideoSubtitlesTaskPostRequest
impl RefUnwindSafe for SerpApiYoutubeVideoSubtitlesTaskPostRequest
impl Send for SerpApiYoutubeVideoSubtitlesTaskPostRequest
impl Sync for SerpApiYoutubeVideoSubtitlesTaskPostRequest
impl Unpin for SerpApiYoutubeVideoSubtitlesTaskPostRequest
impl UnsafeUnpin for SerpApiYoutubeVideoSubtitlesTaskPostRequest
impl UnwindSafe for SerpApiYoutubeVideoSubtitlesTaskPostRequest
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