pub struct SemanticExtractionResult {
pub entities: Vec<SemanticEntity>,
pub truncated: bool,
pub dropped_entities: usize,
pub dropped_attributes: usize,
pub dropped_sources: usize,
}Expand description
Explicit extraction receipt detailing extracted entities and truncation counts.
Fields§
§entities: Vec<SemanticEntity>Extracted semantic entities.
truncated: boolWhether any entity, attribute, value, or source ID limit was triggered.
dropped_entities: usizeNumber of dropped entities due to max_entities limit.
dropped_attributes: usizeNumber of dropped attributes due to attribute limits.
dropped_sources: usizeNumber of dropped source evidence IDs due to source limits.
Trait Implementations§
Source§impl Clone for SemanticExtractionResult
impl Clone for SemanticExtractionResult
Source§fn clone(&self) -> SemanticExtractionResult
fn clone(&self) -> SemanticExtractionResult
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 SemanticExtractionResult
impl Debug for SemanticExtractionResult
Source§impl<'de> Deserialize<'de> for SemanticExtractionResult
impl<'de> Deserialize<'de> for SemanticExtractionResult
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 SemanticExtractionResult
Source§impl PartialEq for SemanticExtractionResult
impl PartialEq for SemanticExtractionResult
Source§impl Serialize for SemanticExtractionResult
impl Serialize for SemanticExtractionResult
impl StructuralPartialEq for SemanticExtractionResult
Auto Trait Implementations§
impl Freeze for SemanticExtractionResult
impl RefUnwindSafe for SemanticExtractionResult
impl Send for SemanticExtractionResult
impl Sync for SemanticExtractionResult
impl Unpin for SemanticExtractionResult
impl UnsafeUnpin for SemanticExtractionResult
impl UnwindSafe for SemanticExtractionResult
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more