pub struct View {
pub audience: Option<Stakeholders>,
pub content_history: Option<ContentHistory>,
pub id: Option<String>,
pub members: Option<Relationships>,
pub name: Option<String>,
pub notes: Option<Notes>,
pub objective: Option<String>,
pub references: Option<References>,
pub status: Option<String>,
pub type_: Option<String>,
}
Expand description
CWE View
JSON schema
{
"description": "CWE View",
"type": "object",
"properties": {
"Audience": {
"$ref": "#/components/schemas/Stakeholders"
},
"Content_History": {
"$ref": "#/components/schemas/ContentHistory"
},
"ID": {
"examples": [
"12"
],
"type": "string",
"format": "integer"
},
"Members": {
"$ref": "#/components/schemas/Relationships"
},
"Name": {
"examples": [
"View Name"
],
"type": "string"
},
"Notes": {
"$ref": "#/components/schemas/Notes"
},
"Objective": {
"examples": [
"A brief description of the objective of the view"
],
"type": "string"
},
"References": {
"$ref": "#/components/schemas/References"
},
"Status": {
"examples": [
"Stable"
],
"type": "string"
},
"Type": {
"examples": [
"Implicit"
],
"type": "string"
}
}
}
Fields§
§audience: Option<Stakeholders>
§content_history: Option<ContentHistory>
§id: Option<String>
§members: Option<Relationships>
§name: Option<String>
§notes: Option<Notes>
§objective: Option<String>
§references: Option<References>
§status: Option<String>
§type_: Option<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for View
impl<'de> Deserialize<'de> for View
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
Auto Trait Implementations§
impl Freeze for View
impl RefUnwindSafe for View
impl Send for View
impl Sync for View
impl Unpin for View
impl UnwindSafe for View
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