pub struct SerpApiYoutubeVideoInfoTaskPostRequest {
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 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 Info task_post / live. See https://docs.dataforseo.com/v3/serp/youtube/video_info/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.
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 SerpApiYoutubeVideoInfoTaskPostRequest
impl<'de> Deserialize<'de> for SerpApiYoutubeVideoInfoTaskPostRequest
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 SerpApiYoutubeVideoInfoTaskPostRequest
impl RefUnwindSafe for SerpApiYoutubeVideoInfoTaskPostRequest
impl Send for SerpApiYoutubeVideoInfoTaskPostRequest
impl Sync for SerpApiYoutubeVideoInfoTaskPostRequest
impl Unpin for SerpApiYoutubeVideoInfoTaskPostRequest
impl UnsafeUnpin for SerpApiYoutubeVideoInfoTaskPostRequest
impl UnwindSafe for SerpApiYoutubeVideoInfoTaskPostRequest
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