Struct aws_sdk_securityhub::types::Occurrences
source · #[non_exhaustive]pub struct Occurrences {
pub line_ranges: Option<Vec<Range>>,
pub offset_ranges: Option<Vec<Range>>,
pub pages: Option<Vec<Page>>,
pub records: Option<Vec<Record>>,
pub cells: Option<Vec<Cell>>,
}
Expand description
The detected occurrences of sensitive data.
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.line_ranges: Option<Vec<Range>>
Occurrences of sensitive data detected in a non-binary text file or a Microsoft Word file. Non-binary text files include files such as HTML, XML, JSON, and TXT files.
offset_ranges: Option<Vec<Range>>
Occurrences of sensitive data detected in a binary text file.
pages: Option<Vec<Page>>
Occurrences of sensitive data in an Adobe Portable Document Format (PDF) file.
records: Option<Vec<Record>>
Occurrences of sensitive data in an Apache Avro object container or an Apache Parquet file.
cells: Option<Vec<Cell>>
Occurrences of sensitive data detected in Microsoft Excel workbooks, comma-separated value (CSV) files, or tab-separated value (TSV) files.
Implementations§
source§impl Occurrences
impl Occurrences
sourcepub fn line_ranges(&self) -> &[Range]
pub fn line_ranges(&self) -> &[Range]
Occurrences of sensitive data detected in a non-binary text file or a Microsoft Word file. Non-binary text files include files such as HTML, XML, JSON, and TXT files.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .line_ranges.is_none()
.
sourcepub fn offset_ranges(&self) -> &[Range]
pub fn offset_ranges(&self) -> &[Range]
Occurrences of sensitive data detected in a binary text file.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .offset_ranges.is_none()
.
sourcepub fn pages(&self) -> &[Page]
pub fn pages(&self) -> &[Page]
Occurrences of sensitive data in an Adobe Portable Document Format (PDF) file.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .pages.is_none()
.
sourcepub fn records(&self) -> &[Record]
pub fn records(&self) -> &[Record]
Occurrences of sensitive data in an Apache Avro object container or an Apache Parquet file.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .records.is_none()
.
sourcepub fn cells(&self) -> &[Cell]
pub fn cells(&self) -> &[Cell]
Occurrences of sensitive data detected in Microsoft Excel workbooks, comma-separated value (CSV) files, or tab-separated value (TSV) files.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .cells.is_none()
.
source§impl Occurrences
impl Occurrences
sourcepub fn builder() -> OccurrencesBuilder
pub fn builder() -> OccurrencesBuilder
Creates a new builder-style object to manufacture Occurrences
.
Trait Implementations§
source§impl Clone for Occurrences
impl Clone for Occurrences
source§fn clone(&self) -> Occurrences
fn clone(&self) -> Occurrences
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Occurrences
impl Debug for Occurrences
source§impl PartialEq for Occurrences
impl PartialEq for Occurrences
source§fn eq(&self, other: &Occurrences) -> bool
fn eq(&self, other: &Occurrences) -> bool
self
and other
values to be equal, and is used
by ==
.