pub struct ExtractedEntity {
pub entity_type: String,
pub raw_value: String,
pub normalized_value: Option<String>,
pub grounding: Option<GroundingMetadata>,
}Expand description
Extracted entity from text
Fields§
§entity_type: StringType of entity (string for generic cross-domain use)
raw_value: StringRaw value from text
normalized_value: Option<String>Normalized value if available
grounding: Option<GroundingMetadata>Grounding metadata
Trait Implementations§
Source§impl Clone for ExtractedEntity
impl Clone for ExtractedEntity
Source§fn clone(&self) -> ExtractedEntity
fn clone(&self) -> ExtractedEntity
Returns a duplicate of the value. Read more
1.0.0 · 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 ExtractedEntity
impl Debug for ExtractedEntity
Source§impl<'de> Deserialize<'de> for ExtractedEntity
impl<'de> Deserialize<'de> for ExtractedEntity
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
Auto Trait Implementations§
impl Freeze for ExtractedEntity
impl RefUnwindSafe for ExtractedEntity
impl Send for ExtractedEntity
impl Sync for ExtractedEntity
impl Unpin for ExtractedEntity
impl UnsafeUnpin for ExtractedEntity
impl UnwindSafe for ExtractedEntity
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