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