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