SuggestResult
import type { SuggestResult } from "https://googleapis.deno.dev/v1/cloudsearch:v1.ts";
One suggestion result.
interface SuggestResult {
peopleSuggestion?: PeopleSuggestion;
querySuggestion?: QuerySuggestion;
source?: Source;
suggestedQuery?: string;
}§Properties
§
peopleSuggestion?: PeopleSuggestion
[src]This is present when the suggestion indicates a person. It contains more information about the person - like their email ID, name etc.
§
querySuggestion?: QuerySuggestion
[src]This field will be present if the suggested query is a word/phrase completion.