pub struct SecretScanningLocationPullRequestComment {
pub pull_request_comment_url: String,
}
Expand description
SecretScanningLocationPullRequestComment : Represents a ‘pull_request_comment’ secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.
Fields§
§pull_request_comment_url: String
The API URL to get the pull request comment where the secret was detected.
Implementations§
Source§impl SecretScanningLocationPullRequestComment
impl SecretScanningLocationPullRequestComment
Sourcepub fn new(
pull_request_comment_url: String,
) -> SecretScanningLocationPullRequestComment
pub fn new( pull_request_comment_url: String, ) -> SecretScanningLocationPullRequestComment
Represents a ‘pull_request_comment’ secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.
Trait Implementations§
Source§impl Clone for SecretScanningLocationPullRequestComment
impl Clone for SecretScanningLocationPullRequestComment
Source§fn clone(&self) -> SecretScanningLocationPullRequestComment
fn clone(&self) -> SecretScanningLocationPullRequestComment
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 Default for SecretScanningLocationPullRequestComment
impl Default for SecretScanningLocationPullRequestComment
Source§fn default() -> SecretScanningLocationPullRequestComment
fn default() -> SecretScanningLocationPullRequestComment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SecretScanningLocationPullRequestComment
impl<'de> Deserialize<'de> for SecretScanningLocationPullRequestComment
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 PartialEq for SecretScanningLocationPullRequestComment
impl PartialEq for SecretScanningLocationPullRequestComment
Source§fn eq(&self, other: &SecretScanningLocationPullRequestComment) -> bool
fn eq(&self, other: &SecretScanningLocationPullRequestComment) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SecretScanningLocationPullRequestComment
Auto Trait Implementations§
impl Freeze for SecretScanningLocationPullRequestComment
impl RefUnwindSafe for SecretScanningLocationPullRequestComment
impl Send for SecretScanningLocationPullRequestComment
impl Sync for SecretScanningLocationPullRequestComment
impl Unpin for SecretScanningLocationPullRequestComment
impl UnwindSafe for SecretScanningLocationPullRequestComment
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