pub enum NullableSecretScanningFirstDetectedLocation {
Show 13 variants
NullableSecretScanningFirstDetectedLocationVariant0(SecretScanningLocationCommit),
NullableSecretScanningFirstDetectedLocationVariant1(SecretScanningLocationWikiCommit),
NullableSecretScanningFirstDetectedLocationVariant2(SecretScanningLocationIssueTitle),
NullableSecretScanningFirstDetectedLocationVariant3(SecretScanningLocationIssueBody),
NullableSecretScanningFirstDetectedLocationVariant4(SecretScanningLocationIssueComment),
NullableSecretScanningFirstDetectedLocationVariant5(SecretScanningLocationDiscussionTitle),
NullableSecretScanningFirstDetectedLocationVariant6(SecretScanningLocationDiscussionBody),
NullableSecretScanningFirstDetectedLocationVariant7(SecretScanningLocationDiscussionComment),
NullableSecretScanningFirstDetectedLocationVariant8(SecretScanningLocationPullRequestTitle),
NullableSecretScanningFirstDetectedLocationVariant9(SecretScanningLocationPullRequestBody),
NullableSecretScanningFirstDetectedLocationVariant10(SecretScanningLocationPullRequestComment),
NullableSecretScanningFirstDetectedLocationVariant11(SecretScanningLocationPullRequestReview),
NullableSecretScanningFirstDetectedLocationVariant12(SecretScanningLocationPullRequestReviewComment),
}Expand description
Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.
Variants§
NullableSecretScanningFirstDetectedLocationVariant0(SecretScanningLocationCommit)
NullableSecretScanningFirstDetectedLocationVariant1(SecretScanningLocationWikiCommit)
NullableSecretScanningFirstDetectedLocationVariant2(SecretScanningLocationIssueTitle)
NullableSecretScanningFirstDetectedLocationVariant3(SecretScanningLocationIssueBody)
NullableSecretScanningFirstDetectedLocationVariant4(SecretScanningLocationIssueComment)
NullableSecretScanningFirstDetectedLocationVariant5(SecretScanningLocationDiscussionTitle)
NullableSecretScanningFirstDetectedLocationVariant6(SecretScanningLocationDiscussionBody)
NullableSecretScanningFirstDetectedLocationVariant7(SecretScanningLocationDiscussionComment)
NullableSecretScanningFirstDetectedLocationVariant8(SecretScanningLocationPullRequestTitle)
NullableSecretScanningFirstDetectedLocationVariant9(SecretScanningLocationPullRequestBody)
NullableSecretScanningFirstDetectedLocationVariant10(SecretScanningLocationPullRequestComment)
NullableSecretScanningFirstDetectedLocationVariant11(SecretScanningLocationPullRequestReview)
NullableSecretScanningFirstDetectedLocationVariant12(SecretScanningLocationPullRequestReviewComment)
Trait Implementations§
Source§impl Clone for NullableSecretScanningFirstDetectedLocation
impl Clone for NullableSecretScanningFirstDetectedLocation
Source§fn clone(&self) -> NullableSecretScanningFirstDetectedLocation
fn clone(&self) -> NullableSecretScanningFirstDetectedLocation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for NullableSecretScanningFirstDetectedLocation
impl<'de> Deserialize<'de> for NullableSecretScanningFirstDetectedLocation
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<SecretScanningLocationCommit> for NullableSecretScanningFirstDetectedLocation
impl From<SecretScanningLocationCommit> for NullableSecretScanningFirstDetectedLocation
Source§fn from(value: SecretScanningLocationCommit) -> Self
fn from(value: SecretScanningLocationCommit) -> Self
Converts to this type from the input type.
Source§impl From<SecretScanningLocationDiscussionBody> for NullableSecretScanningFirstDetectedLocation
impl From<SecretScanningLocationDiscussionBody> for NullableSecretScanningFirstDetectedLocation
Source§fn from(value: SecretScanningLocationDiscussionBody) -> Self
fn from(value: SecretScanningLocationDiscussionBody) -> Self
Converts to this type from the input type.
Source§impl From<SecretScanningLocationDiscussionComment> for NullableSecretScanningFirstDetectedLocation
impl From<SecretScanningLocationDiscussionComment> for NullableSecretScanningFirstDetectedLocation
Source§fn from(value: SecretScanningLocationDiscussionComment) -> Self
fn from(value: SecretScanningLocationDiscussionComment) -> Self
Converts to this type from the input type.
Source§impl From<SecretScanningLocationDiscussionTitle> for NullableSecretScanningFirstDetectedLocation
impl From<SecretScanningLocationDiscussionTitle> for NullableSecretScanningFirstDetectedLocation
Source§fn from(value: SecretScanningLocationDiscussionTitle) -> Self
fn from(value: SecretScanningLocationDiscussionTitle) -> Self
Converts to this type from the input type.
Source§impl From<SecretScanningLocationIssueBody> for NullableSecretScanningFirstDetectedLocation
impl From<SecretScanningLocationIssueBody> for NullableSecretScanningFirstDetectedLocation
Source§fn from(value: SecretScanningLocationIssueBody) -> Self
fn from(value: SecretScanningLocationIssueBody) -> Self
Converts to this type from the input type.
Source§impl From<SecretScanningLocationIssueComment> for NullableSecretScanningFirstDetectedLocation
impl From<SecretScanningLocationIssueComment> for NullableSecretScanningFirstDetectedLocation
Source§fn from(value: SecretScanningLocationIssueComment) -> Self
fn from(value: SecretScanningLocationIssueComment) -> Self
Converts to this type from the input type.
Source§impl From<SecretScanningLocationIssueTitle> for NullableSecretScanningFirstDetectedLocation
impl From<SecretScanningLocationIssueTitle> for NullableSecretScanningFirstDetectedLocation
Source§fn from(value: SecretScanningLocationIssueTitle) -> Self
fn from(value: SecretScanningLocationIssueTitle) -> Self
Converts to this type from the input type.
Source§impl From<SecretScanningLocationPullRequestBody> for NullableSecretScanningFirstDetectedLocation
impl From<SecretScanningLocationPullRequestBody> for NullableSecretScanningFirstDetectedLocation
Source§fn from(value: SecretScanningLocationPullRequestBody) -> Self
fn from(value: SecretScanningLocationPullRequestBody) -> Self
Converts to this type from the input type.
Source§impl From<SecretScanningLocationPullRequestComment> for NullableSecretScanningFirstDetectedLocation
impl From<SecretScanningLocationPullRequestComment> for NullableSecretScanningFirstDetectedLocation
Source§fn from(value: SecretScanningLocationPullRequestComment) -> Self
fn from(value: SecretScanningLocationPullRequestComment) -> Self
Converts to this type from the input type.
Source§impl From<SecretScanningLocationPullRequestReview> for NullableSecretScanningFirstDetectedLocation
impl From<SecretScanningLocationPullRequestReview> for NullableSecretScanningFirstDetectedLocation
Source§fn from(value: SecretScanningLocationPullRequestReview) -> Self
fn from(value: SecretScanningLocationPullRequestReview) -> Self
Converts to this type from the input type.
Source§impl From<SecretScanningLocationPullRequestReviewComment> for NullableSecretScanningFirstDetectedLocation
impl From<SecretScanningLocationPullRequestReviewComment> for NullableSecretScanningFirstDetectedLocation
Source§fn from(value: SecretScanningLocationPullRequestReviewComment) -> Self
fn from(value: SecretScanningLocationPullRequestReviewComment) -> Self
Converts to this type from the input type.
Source§impl From<SecretScanningLocationPullRequestTitle> for NullableSecretScanningFirstDetectedLocation
impl From<SecretScanningLocationPullRequestTitle> for NullableSecretScanningFirstDetectedLocation
Source§fn from(value: SecretScanningLocationPullRequestTitle) -> Self
fn from(value: SecretScanningLocationPullRequestTitle) -> Self
Converts to this type from the input type.
Source§impl From<SecretScanningLocationWikiCommit> for NullableSecretScanningFirstDetectedLocation
impl From<SecretScanningLocationWikiCommit> for NullableSecretScanningFirstDetectedLocation
Source§fn from(value: SecretScanningLocationWikiCommit) -> Self
fn from(value: SecretScanningLocationWikiCommit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NullableSecretScanningFirstDetectedLocation
impl PartialEq for NullableSecretScanningFirstDetectedLocation
Source§fn eq(&self, other: &NullableSecretScanningFirstDetectedLocation) -> bool
fn eq(&self, other: &NullableSecretScanningFirstDetectedLocation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NullableSecretScanningFirstDetectedLocation
Auto Trait Implementations§
impl Freeze for NullableSecretScanningFirstDetectedLocation
impl RefUnwindSafe for NullableSecretScanningFirstDetectedLocation
impl Send for NullableSecretScanningFirstDetectedLocation
impl Sync for NullableSecretScanningFirstDetectedLocation
impl Unpin for NullableSecretScanningFirstDetectedLocation
impl UnwindSafe for NullableSecretScanningFirstDetectedLocation
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
Mutably borrows from an owned value. Read more