#[non_exhaustive]pub struct WebSearchMembers {
pub action: Option<String>,
pub query: Option<String>,
pub url: Option<String>,
pub pattern: Option<String>,
pub provider_status: Option<String>,
pub results: Option<Vec<WebSearchHit>>,
pub raw_item: Option<String>,
}Expand description
webSearch members, flattened into Item.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.action: Option<String>webSearch: the search action as an open-enum string — search |
openPage | findInPage, else tolerated unknown. Absent while the call
is open (the action is not final until the item completes).
query: Option<String>webSearch: the search query, verbatim — present iff action == "search" with a query to carry.
url: Option<String>webSearch: the page URL, verbatim — present iff action == "openPage"
or "findInPage".
pattern: Option<String>webSearch: the in-page pattern, verbatim — present iff action == "findInPage".
provider_status: Option<String>webSearch: the provider’s terminal status, verbatim ("completed" |
"failed" | "cancelled" | other) — present on the completed item.
results: Option<Vec<WebSearchHit>>webSearch: the typed result hits, verbatim, never truncated — clients
read results.length for the count.
raw_item: Option<String>webSearch: the verbatim raw provider JSON frame under the 64 KiB
per-surface budget; past-budget frames cut here and ride whole behind
outputRef.