Struct github_rest::model::repositories::security_advisory::SecurityAdvisory
source · pub struct SecurityAdvisory {
pub ghsa_id: String,
pub summary: String,
pub description: String,
pub severity: String,
pub identifiers: Vec<Identifier>,
pub references: Vec<Reference>,
pub published_at: String,
pub updated_at: String,
pub withdrawn_at: Value,
pub vulnerabilities: Vec<Vulnerability>,
}
Fields§
§ghsa_id: String
§summary: String
§description: String
§severity: String
§identifiers: Vec<Identifier>
§references: Vec<Reference>
§published_at: String
§updated_at: String
§withdrawn_at: Value
§vulnerabilities: Vec<Vulnerability>
Trait Implementations§
source§impl Clone for SecurityAdvisory
impl Clone for SecurityAdvisory
source§fn clone(&self) -> SecurityAdvisory
fn clone(&self) -> SecurityAdvisory
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 Debug for SecurityAdvisory
impl Debug for SecurityAdvisory
source§impl Default for SecurityAdvisory
impl Default for SecurityAdvisory
source§fn default() -> SecurityAdvisory
fn default() -> SecurityAdvisory
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SecurityAdvisory
impl<'de> Deserialize<'de> for SecurityAdvisory
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<SecurityAdvisory> for SecurityAdvisory
impl PartialEq<SecurityAdvisory> for SecurityAdvisory
source§fn eq(&self, other: &SecurityAdvisory) -> bool
fn eq(&self, other: &SecurityAdvisory) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SecurityAdvisory
impl Serialize for SecurityAdvisory
impl StructuralPartialEq for SecurityAdvisory
Auto Trait Implementations§
impl RefUnwindSafe for SecurityAdvisory
impl Send for SecurityAdvisory
impl Sync for SecurityAdvisory
impl Unpin for SecurityAdvisory
impl UnwindSafe for SecurityAdvisory
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