pub struct SecurityAdvisoryPerformedSecurityAdvisoryCvss {
pub score: f64,
pub vector_string: Option<String>,
}
Expand description
SecurityAdvisoryPerformedSecurityAdvisoryCvss
JSON schema
{
"type": "object",
"required": [
"score",
"vector_string"
],
"properties": {
"score": {
"type": "number"
},
"vector_string": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
Fields§
§score: f64
§vector_string: Option<String>
Implementations§
Trait Implementations§
Source§impl Clone for SecurityAdvisoryPerformedSecurityAdvisoryCvss
impl Clone for SecurityAdvisoryPerformedSecurityAdvisoryCvss
Source§fn clone(&self) -> SecurityAdvisoryPerformedSecurityAdvisoryCvss
fn clone(&self) -> SecurityAdvisoryPerformedSecurityAdvisoryCvss
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<'de> Deserialize<'de> for SecurityAdvisoryPerformedSecurityAdvisoryCvss
impl<'de> Deserialize<'de> for SecurityAdvisoryPerformedSecurityAdvisoryCvss
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<&SecurityAdvisoryPerformedSecurityAdvisoryCvss> for SecurityAdvisoryPerformedSecurityAdvisoryCvss
impl From<&SecurityAdvisoryPerformedSecurityAdvisoryCvss> for SecurityAdvisoryPerformedSecurityAdvisoryCvss
Source§fn from(value: &SecurityAdvisoryPerformedSecurityAdvisoryCvss) -> Self
fn from(value: &SecurityAdvisoryPerformedSecurityAdvisoryCvss) -> Self
Converts to this type from the input type.
Source§impl From<SecurityAdvisoryPerformedSecurityAdvisoryCvss> for SecurityAdvisoryPerformedSecurityAdvisoryCvss
impl From<SecurityAdvisoryPerformedSecurityAdvisoryCvss> for SecurityAdvisoryPerformedSecurityAdvisoryCvss
Source§fn from(value: SecurityAdvisoryPerformedSecurityAdvisoryCvss) -> Self
fn from(value: SecurityAdvisoryPerformedSecurityAdvisoryCvss) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SecurityAdvisoryPerformedSecurityAdvisoryCvss
impl RefUnwindSafe for SecurityAdvisoryPerformedSecurityAdvisoryCvss
impl Send for SecurityAdvisoryPerformedSecurityAdvisoryCvss
impl Sync for SecurityAdvisoryPerformedSecurityAdvisoryCvss
impl Unpin for SecurityAdvisoryPerformedSecurityAdvisoryCvss
impl UnwindSafe for SecurityAdvisoryPerformedSecurityAdvisoryCvss
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