pub struct AnonymizeRequest {
pub text: String,
pub language: String,
pub config: AnonymizationConfig,
pub entities: Option<Vec<String>>,
}Expand description
Request to anonymize text
Fields§
§text: StringText to anonymize
language: StringLanguage code
config: AnonymizationConfigAnonymization configuration
entities: Option<Vec<String>>Specific entity types to anonymize (optional)
Trait Implementations§
Source§impl Clone for AnonymizeRequest
impl Clone for AnonymizeRequest
Source§fn clone(&self) -> AnonymizeRequest
fn clone(&self) -> AnonymizeRequest
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 AnonymizeRequest
impl Debug for AnonymizeRequest
Source§impl<'de> Deserialize<'de> for AnonymizeRequest
impl<'de> Deserialize<'de> for AnonymizeRequest
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 AnonymizeRequest
impl RefUnwindSafe for AnonymizeRequest
impl Send for AnonymizeRequest
impl Sync for AnonymizeRequest
impl Unpin for AnonymizeRequest
impl UnwindSafe for AnonymizeRequest
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