#[non_exhaustive]pub struct SdpDeidentifyResult {
pub execution_state: FilterExecutionState,
pub message_items: Vec<MessageItem>,
pub match_state: FilterMatchState,
pub data: Option<DataItem>,
pub transformed_bytes: i64,
pub info_types: Vec<String>,
/* private fields */
}Expand description
Sensitive Data Protection Deidentification Result.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.execution_state: FilterExecutionStateOutput only. Reports whether Sensitive Data Protection deidentification was successfully executed or not.
message_items: Vec<MessageItem>Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution state is skipped then this field provides related reason/explanation.
match_state: FilterMatchStateOutput only. Match state for Sensitive Data Protection Deidentification. Value is MATCH_FOUND if content is de-identified.
data: Option<DataItem>De-identified data.
transformed_bytes: i64Total size in bytes that were transformed during deidentification.
info_types: Vec<String>List of Sensitive Data Protection info-types that were de-identified.
Implementations§
Source§impl SdpDeidentifyResult
impl SdpDeidentifyResult
pub fn new() -> Self
Sourcepub fn set_execution_state<T: Into<FilterExecutionState>>(self, v: T) -> Self
pub fn set_execution_state<T: Into<FilterExecutionState>>(self, v: T) -> Self
Sets the value of execution_state.
Sourcepub fn set_message_items<T, V>(self, v: T) -> Self
pub fn set_message_items<T, V>(self, v: T) -> Self
Sets the value of message_items.
Sourcepub fn set_match_state<T: Into<FilterMatchState>>(self, v: T) -> Self
pub fn set_match_state<T: Into<FilterMatchState>>(self, v: T) -> Self
Sets the value of match_state.
Sourcepub fn set_or_clear_data<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_data<T>(self, v: Option<T>) -> Self
Sets or clears the value of data.
Sourcepub fn set_transformed_bytes<T: Into<i64>>(self, v: T) -> Self
pub fn set_transformed_bytes<T: Into<i64>>(self, v: T) -> Self
Sets the value of transformed_bytes.
Sourcepub fn set_info_types<T, V>(self, v: T) -> Self
pub fn set_info_types<T, V>(self, v: T) -> Self
Sets the value of info_types.
Trait Implementations§
Source§impl Clone for SdpDeidentifyResult
impl Clone for SdpDeidentifyResult
Source§fn clone(&self) -> SdpDeidentifyResult
fn clone(&self) -> SdpDeidentifyResult
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more