#[non_exhaustive]pub struct SdpInspectResult {
pub execution_state: FilterExecutionState,
pub message_items: Vec<MessageItem>,
pub match_state: FilterMatchState,
pub findings: Vec<SdpFinding>,
pub findings_truncated: bool,
/* private fields */
}Expand description
Sensitive Data Protection Inspection 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 inspection 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 SDP Inspection. Value is MATCH_FOUND if at least one Sensitive Data Protection finding is identified.
findings: Vec<SdpFinding>List of Sensitive Data Protection findings.
findings_truncated: boolIf true, then there is possibility that more findings were identified and the findings returned are a subset of all findings. The findings list might be truncated because the input items were too large, or because the server reached the maximum amount of resources allowed for a single API call.
Implementations§
Source§impl SdpInspectResult
impl SdpInspectResult
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_findings<T, V>(self, v: T) -> Self
pub fn set_findings<T, V>(self, v: T) -> Self
Sets the value of findings.
Sourcepub fn set_findings_truncated<T: Into<bool>>(self, v: T) -> Self
pub fn set_findings_truncated<T: Into<bool>>(self, v: T) -> Self
Sets the value of findings_truncated.
Trait Implementations§
Source§impl Clone for SdpInspectResult
impl Clone for SdpInspectResult
Source§fn clone(&self) -> SdpInspectResult
fn clone(&self) -> SdpInspectResult
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more