Struct mmi_parser::Trigger
source · [−]pub struct Trigger {
pub name: String,
pub loc: Location,
pub loc_position: i32,
pub text: String,
pub part_of_speech: String,
pub negation: bool,
}Expand description
Struct to represent Trigger information.
Fields
name: StringUMLS concept name
loc: Locationlocation of text
loc_position: i32number of the utterance within the location (starting with 1)
text: Stringthe actual text
part_of_speech: Stringdetermined by MedPost Tagger or Lexical Lookup
negation: boolTrue if text is considered negated by MetaMap
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Trigger
impl<'de> Deserialize<'de> for Trigger
sourcefn 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
impl Eq for Trigger
impl StructuralEq for Trigger
impl StructuralPartialEq for Trigger
Auto Trait Implementations
impl RefUnwindSafe for Trigger
impl Send for Trigger
impl Sync for Trigger
impl Unpin for Trigger
impl UnwindSafe for Trigger
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more