pub struct RepositoryVulnerabilityAlertEvent {
pub action: RepositoryVulnerabilityAlertAction,
pub alert: Value,
pub event_info: RepoEventInfo,
}
Expand description
Fields§
§action: RepositoryVulnerabilityAlertAction
§alert: Value
§event_info: RepoEventInfo
Trait Implementations§
source§impl AsRef<RepoEventInfo> for RepositoryVulnerabilityAlertEvent
impl AsRef<RepoEventInfo> for RepositoryVulnerabilityAlertEvent
source§fn as_ref(&self) -> &RepoEventInfo
fn as_ref(&self) -> &RepoEventInfo
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for RepositoryVulnerabilityAlertEvent
impl Clone for RepositoryVulnerabilityAlertEvent
source§fn clone(&self) -> RepositoryVulnerabilityAlertEvent
fn clone(&self) -> RepositoryVulnerabilityAlertEvent
Returns a copy 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<'de> Deserialize<'de> for RepositoryVulnerabilityAlertEvent
impl<'de> Deserialize<'de> for RepositoryVulnerabilityAlertEvent
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 Event<'_> for RepositoryVulnerabilityAlertEvent
impl Event<'_> for RepositoryVulnerabilityAlertEvent
source§impl PartialEq<RepositoryVulnerabilityAlertEvent> for RepositoryVulnerabilityAlertEvent
impl PartialEq<RepositoryVulnerabilityAlertEvent> for RepositoryVulnerabilityAlertEvent
source§fn eq(&self, other: &RepositoryVulnerabilityAlertEvent) -> bool
fn eq(&self, other: &RepositoryVulnerabilityAlertEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RepositoryVulnerabilityAlertEvent
Auto Trait Implementations§
impl RefUnwindSafe for RepositoryVulnerabilityAlertEvent
impl Send for RepositoryVulnerabilityAlertEvent
impl Sync for RepositoryVulnerabilityAlertEvent
impl Unpin for RepositoryVulnerabilityAlertEvent
impl UnwindSafe for RepositoryVulnerabilityAlertEvent
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