[][src]Struct gcp_client::google::cloud::talent::v4beta1::SpellingCorrection

pub struct SpellingCorrection {
    pub corrected: bool,
    pub corrected_text: String,
    pub corrected_html: String,
}

Spell check result.

Fields

corrected: bool

Indicates if the query was corrected by the spell checker.

corrected_text: String

Correction output consisting of the corrected keyword string.

corrected_html: String

Corrected output with html tags to highlight the corrected words. Corrected words are called out with the "..." html tags.

For example, the user input query is "software enginear", where the second word, "enginear," is incorrect. It should be "engineer". When spelling correction is enabled, this value is "software engineer".

Trait Implementations

impl Clone for SpellingCorrection[src]

impl Debug for SpellingCorrection[src]

impl Default for SpellingCorrection[src]

impl Message for SpellingCorrection[src]

impl PartialEq<SpellingCorrection> for SpellingCorrection[src]

impl StructuralPartialEq for SpellingCorrection[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]