pub struct WebhookSecretScanningAlertValidated {
pub action: Action,
pub alert: Box<SecretScanningAlertWebhook>,
pub enterprise: Option<Box<EnterpriseWebhooks>>,
pub installation: Option<Box<SimpleInstallation>>,
pub organization: Option<Box<OrganizationSimpleWebhooks>>,
pub repository: Box<RepositoryWebhooks>,
pub sender: Option<Box<SimpleUserWebhooks>>,
}
Fields§
§action: Action
§alert: Box<SecretScanningAlertWebhook>
§enterprise: Option<Box<EnterpriseWebhooks>>
§installation: Option<Box<SimpleInstallation>>
§organization: Option<Box<OrganizationSimpleWebhooks>>
§repository: Box<RepositoryWebhooks>
§sender: Option<Box<SimpleUserWebhooks>>
Implementations§
Source§impl WebhookSecretScanningAlertValidated
impl WebhookSecretScanningAlertValidated
pub fn new( action: Action, alert: SecretScanningAlertWebhook, repository: RepositoryWebhooks, ) -> WebhookSecretScanningAlertValidated
Trait Implementations§
Source§impl Clone for WebhookSecretScanningAlertValidated
impl Clone for WebhookSecretScanningAlertValidated
Source§fn clone(&self) -> WebhookSecretScanningAlertValidated
fn clone(&self) -> WebhookSecretScanningAlertValidated
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 WebhookSecretScanningAlertValidated
impl Default for WebhookSecretScanningAlertValidated
Source§fn default() -> WebhookSecretScanningAlertValidated
fn default() -> WebhookSecretScanningAlertValidated
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookSecretScanningAlertValidated
impl<'de> Deserialize<'de> for WebhookSecretScanningAlertValidated
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 WebhookSecretScanningAlertValidated
impl PartialEq for WebhookSecretScanningAlertValidated
Source§fn eq(&self, other: &WebhookSecretScanningAlertValidated) -> bool
fn eq(&self, other: &WebhookSecretScanningAlertValidated) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for WebhookSecretScanningAlertValidated
Auto Trait Implementations§
impl Freeze for WebhookSecretScanningAlertValidated
impl RefUnwindSafe for WebhookSecretScanningAlertValidated
impl Send for WebhookSecretScanningAlertValidated
impl Sync for WebhookSecretScanningAlertValidated
impl Unpin for WebhookSecretScanningAlertValidated
impl UnwindSafe for WebhookSecretScanningAlertValidated
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