pub struct SecretScanningAlertWebhook {Show 15 fields
pub number: Option<i32>,
pub created_at: Option<String>,
pub updated_at: Option<Option<String>>,
pub url: Option<String>,
pub html_url: Option<String>,
pub locations_url: Option<String>,
pub resolution: Option<Option<SecretScanningAlertResolutionWebhook>>,
pub resolved_at: Option<Option<String>>,
pub resolved_by: Option<Option<Box<NullableSimpleUser>>>,
pub resolution_comment: Option<Option<String>>,
pub secret_type: Option<String>,
pub validity: Option<Validity>,
pub push_protection_bypassed: Option<Option<bool>>,
pub push_protection_bypassed_by: Option<Option<Box<NullableSimpleUser>>>,
pub push_protection_bypassed_at: Option<Option<String>>,
}
Fields§
§number: Option<i32>
The security alert number.
created_at: Option<String>
The time that the alert was created in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
updated_at: Option<Option<String>>
The time that the alert was last updated in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
url: Option<String>
The REST API URL of the alert resource.
html_url: Option<String>
The GitHub URL of the alert resource.
locations_url: Option<String>
The REST API URL of the code locations for this alert.
resolution: Option<Option<SecretScanningAlertResolutionWebhook>>
§resolved_at: Option<Option<String>>
The time that the alert was resolved in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
resolved_by: Option<Option<Box<NullableSimpleUser>>>
§resolution_comment: Option<Option<String>>
An optional comment to resolve an alert.
secret_type: Option<String>
The type of secret that secret scanning detected.
validity: Option<Validity>
The token status as of the latest validity check.
push_protection_bypassed: Option<Option<bool>>
Whether push protection was bypassed for the detected secret.
push_protection_bypassed_by: Option<Option<Box<NullableSimpleUser>>>
§push_protection_bypassed_at: Option<Option<String>>
The time that push protection was bypassed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
Implementations§
Source§impl SecretScanningAlertWebhook
impl SecretScanningAlertWebhook
pub fn new() -> SecretScanningAlertWebhook
Trait Implementations§
Source§impl Clone for SecretScanningAlertWebhook
impl Clone for SecretScanningAlertWebhook
Source§fn clone(&self) -> SecretScanningAlertWebhook
fn clone(&self) -> SecretScanningAlertWebhook
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 Debug for SecretScanningAlertWebhook
impl Debug for SecretScanningAlertWebhook
Source§impl Default for SecretScanningAlertWebhook
impl Default for SecretScanningAlertWebhook
Source§fn default() -> SecretScanningAlertWebhook
fn default() -> SecretScanningAlertWebhook
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SecretScanningAlertWebhook
impl<'de> Deserialize<'de> for SecretScanningAlertWebhook
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
impl StructuralPartialEq for SecretScanningAlertWebhook
Auto Trait Implementations§
impl Freeze for SecretScanningAlertWebhook
impl RefUnwindSafe for SecretScanningAlertWebhook
impl Send for SecretScanningAlertWebhook
impl Sync for SecretScanningAlertWebhook
impl Unpin for SecretScanningAlertWebhook
impl UnwindSafe for SecretScanningAlertWebhook
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