pub struct MentionResult<'a> {
pub parse_results: TwitterTextParseResults,
pub mention: Option<Entity<'a>>,
}Expand description
A mention entity and validation data returned by ValidatingExtractor.
Fields§
§parse_results: TwitterTextParseResults§mention: Option<Entity<'a>>Implementations§
Source§impl<'a> MentionResult<'a>
impl<'a> MentionResult<'a>
pub fn new( results: TwitterTextParseResults, e: Option<Entity<'a>>, ) -> MentionResult<'a>
Auto Trait Implementations§
impl<'a> Freeze for MentionResult<'a>
impl<'a> RefUnwindSafe for MentionResult<'a>
impl<'a> Send for MentionResult<'a>
impl<'a> Sync for MentionResult<'a>
impl<'a> Unpin for MentionResult<'a>
impl<'a> UnsafeUnpin for MentionResult<'a>
impl<'a> UnwindSafe for MentionResult<'a>
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