pub struct AiOptimizationLlmScraperPost {
pub keyword: String,
pub location_name: Option<String>,
pub location_code: Option<i32>,
pub language_name: Option<String>,
pub language_code: Option<String>,
pub force_web_search: Option<bool>,
pub postback_url: Option<String>,
pub pingback_url: Option<String>,
pub tag: Option<String>,
}Expand description
Request body for the LLM Scraper live/* and task_post endpoints.
postback_url and pingback_url apply only to task_post.
Fields§
§keyword: StringKeyword to scrape (max 2000 characters).
location_name: Option<String>Full name of the search location (alternative to location_code).
location_code: Option<i32>Search location code (alternative to location_name).
language_name: Option<String>Full name of the search language (alternative to language_code).
language_code: Option<String>Search language code (alternative to language_name).
force_web_search: Option<bool>Whether to force the model to access and cite current web information.
postback_url: Option<String>URL to POST the result to when the task completes (task_post only).
pingback_url: Option<String>URL to ping when the task completes (task_post only).
tag: Option<String>User-defined task identifier (max 255 characters).
Implementations§
Source§impl AiOptimizationLlmScraperPost
impl AiOptimizationLlmScraperPost
Sourcepub fn new(keyword: &str) -> AiOptimizationLlmScraperPost
pub fn new(keyword: &str) -> AiOptimizationLlmScraperPost
Creates a request for the given keyword.
Trait Implementations§
Source§impl Clone for AiOptimizationLlmScraperPost
impl Clone for AiOptimizationLlmScraperPost
Source§impl Debug for AiOptimizationLlmScraperPost
impl Debug for AiOptimizationLlmScraperPost
Source§impl<'de> Deserialize<'de> for AiOptimizationLlmScraperPost
impl<'de> Deserialize<'de> for AiOptimizationLlmScraperPost
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 AiOptimizationLlmScraperPost
impl RefUnwindSafe for AiOptimizationLlmScraperPost
impl Send for AiOptimizationLlmScraperPost
impl Sync for AiOptimizationLlmScraperPost
impl Unpin for AiOptimizationLlmScraperPost
impl UnsafeUnpin for AiOptimizationLlmScraperPost
impl UnwindSafe for AiOptimizationLlmScraperPost
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