pub struct SecretScanningLocationWikiCommit {
pub path: String,
pub start_line: f64,
pub end_line: f64,
pub start_column: f64,
pub end_column: f64,
pub blob_sha: String,
pub page_url: String,
pub commit_sha: String,
pub commit_url: String,
}
Expand description
SecretScanningLocationWikiCommit : Represents a ‘wiki_commit’ secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.
Fields§
§path: String
The file path of the wiki page
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 8-bit ASCII.
end_column: f64
The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII.
blob_sha: String
SHA-1 hash ID of the associated blob
page_url: String
The GitHub URL to get the associated wiki page
commit_sha: String
SHA-1 hash ID of the associated commit
commit_url: String
The GitHub URL to get the associated wiki commit
Implementations§
Source§impl SecretScanningLocationWikiCommit
impl SecretScanningLocationWikiCommit
Sourcepub fn new(
path: String,
start_line: f64,
end_line: f64,
start_column: f64,
end_column: f64,
blob_sha: String,
page_url: String,
commit_sha: String,
commit_url: String,
) -> SecretScanningLocationWikiCommit
pub fn new( path: String, start_line: f64, end_line: f64, start_column: f64, end_column: f64, blob_sha: String, page_url: String, commit_sha: String, commit_url: String, ) -> SecretScanningLocationWikiCommit
Represents a ‘wiki_commit’ secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.
Trait Implementations§
Source§impl Clone for SecretScanningLocationWikiCommit
impl Clone for SecretScanningLocationWikiCommit
Source§fn clone(&self) -> SecretScanningLocationWikiCommit
fn clone(&self) -> SecretScanningLocationWikiCommit
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for SecretScanningLocationWikiCommit
impl Default for SecretScanningLocationWikiCommit
Source§fn default() -> SecretScanningLocationWikiCommit
fn default() -> SecretScanningLocationWikiCommit
Source§impl<'de> Deserialize<'de> for SecretScanningLocationWikiCommit
impl<'de> Deserialize<'de> for SecretScanningLocationWikiCommit
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 SecretScanningLocationWikiCommit
impl PartialEq for SecretScanningLocationWikiCommit
Source§fn eq(&self, other: &SecretScanningLocationWikiCommit) -> bool
fn eq(&self, other: &SecretScanningLocationWikiCommit) -> bool
self
and other
values to be equal, and is used by ==
.