pub struct CweVersion {
pub content_date: Option<String>,
pub content_version: Option<String>,
pub total_categories: Option<i64>,
pub total_views: Option<i64>,
pub total_weaknesses: Option<i64>,
}
Expand description
CweVersion
JSON schema
{
"examples": [
{
"ContentDate": "2024-07-16 ",
"ContentVersion": "4.15",
"TotalCategories": 409,
"TotalViews": 54,
"TotalWeaknesses": 959
}
],
"type": "object",
"properties": {
"ContentDate": {
"description": "Release Date of CWE Content Version",
"type": "string"
},
"ContentVersion": {
"description": "CWE Content Version",
"type": "string",
"format": "integer"
},
"TotalCategories": {
"description": "Total count of Categories in this release",
"type": "integer"
},
"TotalViews": {
"description": "Total count of Views in this release",
"type": "integer"
},
"TotalWeaknesses": {
"description": "Total count of Weaknesses in this release",
"type": "integer"
}
}
}
Fields§
§content_date: Option<String>
Release Date of CWE Content Version
content_version: Option<String>
CWE Content Version
total_categories: Option<i64>
Total count of Categories in this release
total_views: Option<i64>
Total count of Views in this release
total_weaknesses: Option<i64>
Total count of Weaknesses in this release
Trait Implementations§
Source§impl Clone for CweVersion
impl Clone for CweVersion
Source§fn clone(&self) -> CweVersion
fn clone(&self) -> CweVersion
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 CweVersion
impl Debug for CweVersion
Source§impl<'de> Deserialize<'de> for CweVersion
impl<'de> Deserialize<'de> for CweVersion
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<&CweVersion> for CweVersion
impl From<&CweVersion> for CweVersion
Source§fn from(value: &CweVersion) -> Self
fn from(value: &CweVersion) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CweVersion
impl RefUnwindSafe for CweVersion
impl Send for CweVersion
impl Sync for CweVersion
impl Unpin for CweVersion
impl UnwindSafe for CweVersion
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