pub struct OutputToken {Show 18 fields
pub word: String,
pub index: i32,
pub pos: String,
pub potential_pos: Vec<String>,
pub stem: String,
pub potential_stems: Vec<String>,
pub antecedent: Option<String>,
pub placement: String,
pub is_possessive: bool,
pub is_negative: bool,
pub synonyms: Vec<String>,
pub hypernyms: Vec<String>,
pub hyponyms: Vec<String>,
pub categories: Vec<String>,
pub ner: Vec<String>,
pub inner_word: String,
pub inner_value: String,
pub inner_unit: String,
}
Fields§
§word: String
§index: i32
§pos: String
§potential_pos: Vec<String>
§stem: String
§potential_stems: Vec<String>
§antecedent: Option<String>
§placement: String
§is_possessive: bool
§is_negative: bool
§synonyms: Vec<String>
§hypernyms: Vec<String>
§hyponyms: Vec<String>
§categories: Vec<String>
§ner: Vec<String>
§inner_word: String
§inner_value: String
§inner_unit: String
Trait Implementations§
Source§impl Clone for OutputToken
impl Clone for OutputToken
Source§fn clone(&self) -> OutputToken
fn clone(&self) -> OutputToken
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OutputToken
impl Debug for OutputToken
Source§impl Default for OutputToken
impl Default for OutputToken
Source§fn default() -> OutputToken
fn default() -> OutputToken
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OutputToken
impl<'de> Deserialize<'de> for OutputToken
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for OutputToken
impl Display for OutputToken
Source§impl Hash for OutputToken
impl Hash for OutputToken
Auto Trait Implementations§
impl Freeze for OutputToken
impl RefUnwindSafe for OutputToken
impl Send for OutputToken
impl Sync for OutputToken
impl Unpin for OutputToken
impl UnwindSafe for OutputToken
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more