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