pub struct AnonymizeResponse {
pub text: String,
pub results: Vec<EntityResult>,
pub tokens: Option<Vec<TokenInfo>>,
pub metadata: AnalysisMetadata,
}Expand description
Response from anonymize endpoint
Fields§
§text: StringAnonymized text
results: Vec<EntityResult>Entities that were anonymized
tokens: Option<Vec<TokenInfo>>Tokens for reversible anonymization
metadata: AnalysisMetadataMetadata
Trait Implementations§
Source§impl Clone for AnonymizeResponse
impl Clone for AnonymizeResponse
Source§fn clone(&self) -> AnonymizeResponse
fn clone(&self) -> AnonymizeResponse
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 AnonymizeResponse
impl Debug for AnonymizeResponse
Source§impl<'de> Deserialize<'de> for AnonymizeResponse
impl<'de> Deserialize<'de> for AnonymizeResponse
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 AnonymizeResponse
impl RefUnwindSafe for AnonymizeResponse
impl Send for AnonymizeResponse
impl Sync for AnonymizeResponse
impl Unpin for AnonymizeResponse
impl UnwindSafe for AnonymizeResponse
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