pub enum EntitySource {
Tag,
Term,
}Expand description
Where an extracted entity came from. Author-supplied tags are high-signal; salient terms are the extractor’s guess. Ranking treats them differently, so the distinction is persisted rather than recomputed.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for EntitySource
impl Clone for EntitySource
Source§fn clone(&self) -> EntitySource
fn clone(&self) -> EntitySource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EntitySource
Source§impl Debug for EntitySource
impl Debug for EntitySource
impl Eq for EntitySource
Source§impl Ord for EntitySource
impl Ord for EntitySource
Source§fn cmp(&self, other: &EntitySource) -> Ordering
fn cmp(&self, other: &EntitySource) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for EntitySource
impl PartialEq for EntitySource
Source§impl PartialOrd for EntitySource
impl PartialOrd for EntitySource
impl StructuralPartialEq for EntitySource
Auto Trait Implementations§
impl Freeze for EntitySource
impl RefUnwindSafe for EntitySource
impl Send for EntitySource
impl Sync for EntitySource
impl Unpin for EntitySource
impl UnsafeUnpin for EntitySource
impl UnwindSafe for EntitySource
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