pub enum SecurityAdvisoryEvent {
Performed(SecurityAdvisoryPerformed),
Published(SecurityAdvisoryPublished),
Updated(SecurityAdvisoryUpdated),
Withdrawn(SecurityAdvisoryWithdrawn),
}
Expand description
SecurityAdvisoryEvent
JSON schema
{
"oneOf": [
{
"$ref": "#/definitions/security_advisory$performed"
},
{
"$ref": "#/definitions/security_advisory$published"
},
{
"$ref": "#/definitions/security_advisory$updated"
},
{
"$ref": "#/definitions/security_advisory$withdrawn"
}
]
}
Variants§
Performed(SecurityAdvisoryPerformed)
Published(SecurityAdvisoryPublished)
Updated(SecurityAdvisoryUpdated)
Withdrawn(SecurityAdvisoryWithdrawn)
Trait Implementations§
Source§impl Clone for SecurityAdvisoryEvent
impl Clone for SecurityAdvisoryEvent
Source§fn clone(&self) -> SecurityAdvisoryEvent
fn clone(&self) -> SecurityAdvisoryEvent
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 SecurityAdvisoryEvent
impl Debug for SecurityAdvisoryEvent
Source§impl<'de> Deserialize<'de> for SecurityAdvisoryEvent
impl<'de> Deserialize<'de> for SecurityAdvisoryEvent
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 From<&SecurityAdvisoryEvent> for SecurityAdvisoryEvent
impl From<&SecurityAdvisoryEvent> for SecurityAdvisoryEvent
Source§fn from(value: &SecurityAdvisoryEvent) -> Self
fn from(value: &SecurityAdvisoryEvent) -> Self
Converts to this type from the input type.
Source§impl From<SecurityAdvisoryPerformed> for SecurityAdvisoryEvent
impl From<SecurityAdvisoryPerformed> for SecurityAdvisoryEvent
Source§fn from(value: SecurityAdvisoryPerformed) -> Self
fn from(value: SecurityAdvisoryPerformed) -> Self
Converts to this type from the input type.
Source§impl From<SecurityAdvisoryPublished> for SecurityAdvisoryEvent
impl From<SecurityAdvisoryPublished> for SecurityAdvisoryEvent
Source§fn from(value: SecurityAdvisoryPublished) -> Self
fn from(value: SecurityAdvisoryPublished) -> Self
Converts to this type from the input type.
Source§impl From<SecurityAdvisoryUpdated> for SecurityAdvisoryEvent
impl From<SecurityAdvisoryUpdated> for SecurityAdvisoryEvent
Source§fn from(value: SecurityAdvisoryUpdated) -> Self
fn from(value: SecurityAdvisoryUpdated) -> Self
Converts to this type from the input type.
Source§impl From<SecurityAdvisoryWithdrawn> for SecurityAdvisoryEvent
impl From<SecurityAdvisoryWithdrawn> for SecurityAdvisoryEvent
Source§fn from(value: SecurityAdvisoryWithdrawn) -> Self
fn from(value: SecurityAdvisoryWithdrawn) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SecurityAdvisoryEvent
impl RefUnwindSafe for SecurityAdvisoryEvent
impl Send for SecurityAdvisoryEvent
impl Sync for SecurityAdvisoryEvent
impl Unpin for SecurityAdvisoryEvent
impl UnwindSafe for SecurityAdvisoryEvent
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