#[non_exhaustive]pub enum ExtractionSource {
Authored,
Statistical,
LlmModel(String),
}Expand description
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Authored
Hand-authored by the caller (e.g. entities from a front-matter YAML block or an explicit CLI flag). Always trusted.
Statistical
Produced by a statistical extractor in this crate (KeyBERT, co-occurrence PMI).
LlmModel(String)
Produced by an LLM-backed extractor; the inner string is the fully-qualified model identifier so provenance survives round-tripping.
Trait Implementations§
Source§impl Clone for ExtractionSource
impl Clone for ExtractionSource
Source§fn clone(&self) -> ExtractionSource
fn clone(&self) -> ExtractionSource
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 moreSource§impl Debug for ExtractionSource
impl Debug for ExtractionSource
Source§impl<'de> Deserialize<'de> for ExtractionSource
impl<'de> Deserialize<'de> for ExtractionSource
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 PartialEq for ExtractionSource
impl PartialEq for ExtractionSource
Source§fn eq(&self, other: &ExtractionSource) -> bool
fn eq(&self, other: &ExtractionSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExtractionSource
impl Serialize for ExtractionSource
impl Eq for ExtractionSource
impl StructuralPartialEq for ExtractionSource
Auto Trait Implementations§
impl Freeze for ExtractionSource
impl RefUnwindSafe for ExtractionSource
impl Send for ExtractionSource
impl Sync for ExtractionSource
impl Unpin for ExtractionSource
impl UnsafeUnpin for ExtractionSource
impl UnwindSafe for ExtractionSource
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