[][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 PartialEq<SyntaxToken> for SyntaxToken[src]

impl Default for SyntaxToken[src]

impl Clone for SyntaxToken[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for SyntaxToken[src]

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

Auto Trait Implementations

impl Send for SyntaxToken

impl Sync for SyntaxToken

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self