Struct aws_sdk_macie2::types::Range
source · #[non_exhaustive]pub struct Range {
pub end: Option<i64>,
pub start: Option<i64>,
pub start_column: Option<i64>,
}
Expand description
Specifies the location of an occurrence of sensitive data in an email message or a non-binary text file such as an HTML, TXT, or XML file.
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.end: Option<i64>
The number of lines from the beginning of the file to the end of the sensitive data.
start: Option<i64>
The number of lines from the beginning of the file to the beginning of the sensitive data.
start_column: Option<i64>
The number of characters, with spaces and starting from 1, from the beginning of the first line that contains the sensitive data (start) to the beginning of the sensitive data.
Implementations§
source§impl Range
impl Range
sourcepub fn end(&self) -> Option<i64>
pub fn end(&self) -> Option<i64>
The number of lines from the beginning of the file to the end of the sensitive data.
sourcepub fn start(&self) -> Option<i64>
pub fn start(&self) -> Option<i64>
The number of lines from the beginning of the file to the beginning of the sensitive data.
sourcepub fn start_column(&self) -> Option<i64>
pub fn start_column(&self) -> Option<i64>
The number of characters, with spaces and starting from 1, from the beginning of the first line that contains the sensitive data (start) to the beginning of the sensitive data.
Trait Implementations§
source§impl PartialEq for Range
impl PartialEq for Range
impl StructuralPartialEq for Range
Auto Trait Implementations§
impl Freeze for Range
impl RefUnwindSafe for Range
impl Send for Range
impl Sync for Range
impl Unpin for Range
impl UnwindSafe for Range
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more