pub struct SecretScanningLocationCommit {
pub path: String,
pub start_line: f64,
pub end_line: f64,
pub start_column: f64,
pub end_column: f64,
pub blob_sha: String,
pub blob_url: String,
pub commit_sha: String,
pub commit_url: String,
}
Expand description
SecretScanningLocationCommit : Represents a ‘commit’ secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.
Fields§
§path: String
The file path in the repository
start_line: f64
Line number at which the secret starts in the file
end_line: f64
Line number at which the secret ends in the file
start_column: f64
The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII
end_column: f64
The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII
blob_sha: String
SHA-1 hash ID of the associated blob
blob_url: String
The API URL to get the associated blob resource
commit_sha: String
SHA-1 hash ID of the associated commit
commit_url: String
The API URL to get the associated commit resource
Implementations§
Source§impl SecretScanningLocationCommit
impl SecretScanningLocationCommit
Sourcepub fn new(
path: String,
start_line: f64,
end_line: f64,
start_column: f64,
end_column: f64,
blob_sha: String,
blob_url: String,
commit_sha: String,
commit_url: String,
) -> SecretScanningLocationCommit
pub fn new( path: String, start_line: f64, end_line: f64, start_column: f64, end_column: f64, blob_sha: String, blob_url: String, commit_sha: String, commit_url: String, ) -> SecretScanningLocationCommit
Represents a ‘commit’ secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.
Trait Implementations§
Source§impl Clone for SecretScanningLocationCommit
impl Clone for SecretScanningLocationCommit
Source§fn clone(&self) -> SecretScanningLocationCommit
fn clone(&self) -> SecretScanningLocationCommit
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for SecretScanningLocationCommit
impl Debug for SecretScanningLocationCommit
Source§impl Default for SecretScanningLocationCommit
impl Default for SecretScanningLocationCommit
Source§fn default() -> SecretScanningLocationCommit
fn default() -> SecretScanningLocationCommit
Source§impl<'de> Deserialize<'de> for SecretScanningLocationCommit
impl<'de> Deserialize<'de> for SecretScanningLocationCommit
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for SecretScanningLocationCommit
impl PartialEq for SecretScanningLocationCommit
Source§fn eq(&self, other: &SecretScanningLocationCommit) -> bool
fn eq(&self, other: &SecretScanningLocationCommit) -> bool
self
and other
values to be equal, and is used by ==
.