Struct aws_sdk_securityhub::types::Range
source · #[non_exhaustive]pub struct Range {
pub start: Option<i64>,
pub end: Option<i64>,
pub start_column: Option<i64>,
}
Expand description
Identifies where the sensitive data begins and ends.
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.start: Option<i64>
The number of lines (for a line range) or characters (for an offset range) from the beginning of the file to the end of the sensitive data.
end: Option<i64>
The number of lines (for a line range) or characters (for an offset range) from the beginning of the file to the end of the sensitive data.
start_column: Option<i64>
In the line where the sensitive data starts, the column within the line where the sensitive data starts.
Implementations§
source§impl Range
impl Range
sourcepub fn start(&self) -> Option<i64>
pub fn start(&self) -> Option<i64>
The number of lines (for a line range) or characters (for an offset range) from the beginning of the file to the end of the sensitive data.
sourcepub fn end(&self) -> Option<i64>
pub fn end(&self) -> Option<i64>
The number of lines (for a line range) or characters (for an offset range) from the beginning of the file to the end of the sensitive data.
sourcepub fn start_column(&self) -> Option<i64>
pub fn start_column(&self) -> Option<i64>
In the line where the sensitive data starts, the column within the line where the sensitive data starts.
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