pub struct WebhookSecurityAndAnalysis {
pub changes: Box<WebhookSecurityAndAnalysisChanges>,
pub enterprise: Option<Box<EnterpriseWebhooks>>,
pub installation: Option<Box<SimpleInstallation>>,
pub organization: Option<Box<OrganizationSimpleWebhooks>>,
pub repository: Box<FullRepository>,
pub sender: Option<Box<SimpleUserWebhooks>>,
}
Fields§
§changes: Box<WebhookSecurityAndAnalysisChanges>
§enterprise: Option<Box<EnterpriseWebhooks>>
§installation: Option<Box<SimpleInstallation>>
§organization: Option<Box<OrganizationSimpleWebhooks>>
§repository: Box<FullRepository>
§sender: Option<Box<SimpleUserWebhooks>>
Implementations§
Source§impl WebhookSecurityAndAnalysis
impl WebhookSecurityAndAnalysis
pub fn new( changes: WebhookSecurityAndAnalysisChanges, repository: FullRepository, ) -> WebhookSecurityAndAnalysis
Trait Implementations§
Source§impl Clone for WebhookSecurityAndAnalysis
impl Clone for WebhookSecurityAndAnalysis
Source§fn clone(&self) -> WebhookSecurityAndAnalysis
fn clone(&self) -> WebhookSecurityAndAnalysis
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 WebhookSecurityAndAnalysis
impl Debug for WebhookSecurityAndAnalysis
Source§impl Default for WebhookSecurityAndAnalysis
impl Default for WebhookSecurityAndAnalysis
Source§fn default() -> WebhookSecurityAndAnalysis
fn default() -> WebhookSecurityAndAnalysis
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookSecurityAndAnalysis
impl<'de> Deserialize<'de> for WebhookSecurityAndAnalysis
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 WebhookSecurityAndAnalysis
Auto Trait Implementations§
impl Freeze for WebhookSecurityAndAnalysis
impl RefUnwindSafe for WebhookSecurityAndAnalysis
impl Send for WebhookSecurityAndAnalysis
impl Sync for WebhookSecurityAndAnalysis
impl Unpin for WebhookSecurityAndAnalysis
impl UnwindSafe for WebhookSecurityAndAnalysis
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