Struct aws_sdk_comprehend::types::PiiEntity
source · #[non_exhaustive]pub struct PiiEntity { /* private fields */ }Expand description
Provides information about a PII entity.
Implementations§
source§impl PiiEntity
impl PiiEntity
sourcepub fn score(&self) -> Option<f32>
pub fn score(&self) -> Option<f32>
The level of confidence that Amazon Comprehend has in the accuracy of the detection.
sourcepub fn type(&self) -> Option<&PiiEntityType>
pub fn type(&self) -> Option<&PiiEntityType>
The entity's type.
sourcepub fn begin_offset(&self) -> Option<i32>
pub fn begin_offset(&self) -> Option<i32>
The zero-based offset from the beginning of the source text to the first character in the entity.
sourcepub fn end_offset(&self) -> Option<i32>
pub fn end_offset(&self) -> Option<i32>
The zero-based offset from the beginning of the source text to the last character in the entity.