#[non_exhaustive]pub struct CodeVulnerabilitiesFilePath {
pub end_line: Option<i32>,
pub file_name: Option<String>,
pub file_path: Option<String>,
pub start_line: Option<i32>,
}
Expand description
Provides details about where a code vulnerability is located in your Lambda function.
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_line: Option<i32>
The line number of the last line of code in which the vulnerability is located.
file_name: Option<String>
The name of the file in which the code vulnerability is located.
file_path: Option<String>
The file path to the code in which the vulnerability is located.
start_line: Option<i32>
The line number of the first line of code in which the vulnerability is located.
Implementations§
source§impl CodeVulnerabilitiesFilePath
impl CodeVulnerabilitiesFilePath
sourcepub fn end_line(&self) -> Option<i32>
pub fn end_line(&self) -> Option<i32>
The line number of the last line of code in which the vulnerability is located.
sourcepub fn file_name(&self) -> Option<&str>
pub fn file_name(&self) -> Option<&str>
The name of the file in which the code vulnerability is located.
sourcepub fn file_path(&self) -> Option<&str>
pub fn file_path(&self) -> Option<&str>
The file path to the code in which the vulnerability is located.
sourcepub fn start_line(&self) -> Option<i32>
pub fn start_line(&self) -> Option<i32>
The line number of the first line of code in which the vulnerability is located.
source§impl CodeVulnerabilitiesFilePath
impl CodeVulnerabilitiesFilePath
sourcepub fn builder() -> CodeVulnerabilitiesFilePathBuilder
pub fn builder() -> CodeVulnerabilitiesFilePathBuilder
Creates a new builder-style object to manufacture CodeVulnerabilitiesFilePath
.
Trait Implementations§
source§impl Clone for CodeVulnerabilitiesFilePath
impl Clone for CodeVulnerabilitiesFilePath
source§fn clone(&self) -> CodeVulnerabilitiesFilePath
fn clone(&self) -> CodeVulnerabilitiesFilePath
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CodeVulnerabilitiesFilePath
impl Debug for CodeVulnerabilitiesFilePath
source§impl PartialEq for CodeVulnerabilitiesFilePath
impl PartialEq for CodeVulnerabilitiesFilePath
source§fn eq(&self, other: &CodeVulnerabilitiesFilePath) -> bool
fn eq(&self, other: &CodeVulnerabilitiesFilePath) -> bool
self
and other
values to be equal, and is used
by ==
.