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