[][src]Struct rusoto_comprehend::SyntaxToken

pub struct SyntaxToken {
    pub begin_offset: Option<i64>,
    pub end_offset: Option<i64>,
    pub part_of_speech: Option<PartOfSpeechTag>,
    pub text: Option<String>,
    pub token_id: Option<i64>,
}

Represents a work in the input text that was recognized and assigned a part of speech. There is one syntax token record for each word in the source text.

Fields

begin_offset: Option<i64>

The zero-based offset from the beginning of the source text to the first character in the word.

end_offset: Option<i64>

The zero-based offset from the beginning of the source text to the last character in the word.

part_of_speech: Option<PartOfSpeechTag>

Provides the part of speech label and the confidence level that Amazon Comprehend has that the part of speech was correctly identified. For more information, see how-syntax.

text: Option<String>

The word that was recognized in the source text.

token_id: Option<i64>

A unique identifier for a token.

Trait Implementations

impl Clone for SyntaxToken[src]

impl Debug for SyntaxToken[src]

impl Default for SyntaxToken[src]

impl<'de> Deserialize<'de> for SyntaxToken[src]

impl PartialEq<SyntaxToken> for SyntaxToken[src]

impl StructuralPartialEq for SyntaxToken[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Sealed<T> for T where
    T: ?Sized

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.