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§
Source§impl<'de> Deserialize<'de> for Trigger
impl<'de> Deserialize<'de> for Trigger
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
impl Eq for Trigger
impl StructuralPartialEq for Trigger
Auto Trait Implementations§
impl Freeze for Trigger
impl RefUnwindSafe for Trigger
impl Send for Trigger
impl Sync for Trigger
impl Unpin for Trigger
impl UnwindSafe for Trigger
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