pub struct DetectionMethodsItem {
pub description: String,
pub detection_method_id: Option<String>,
pub effectiveness: Option<String>,
pub effectiveness_notes: Option<String>,
pub method: String,
}
Expand description
DetectionMethodsItem
JSON schema
{
"type": "object",
"required": [
"Description",
"Method"
],
"properties": {
"Description": {
"examples": [
"A brief description of the detection"
],
"type": "string"
},
"DetectionMethodID": {
"examples": [
"DM-1"
],
"type": "string"
},
"Effectiveness": {
"examples": [
"Moderate"
],
"type": "string"
},
"EffectivenessNotes": {
"examples": [
"A brief note on the detection effectiveness"
],
"type": "string"
},
"Method": {
"examples": [
"Automated Static Analysis"
],
"type": "string"
}
},
"additionalProperties": false
}
Fields§
§description: String
§detection_method_id: Option<String>
§effectiveness: Option<String>
§effectiveness_notes: Option<String>
§method: String
Trait Implementations§
Source§impl Clone for DetectionMethodsItem
impl Clone for DetectionMethodsItem
Source§fn clone(&self) -> DetectionMethodsItem
fn clone(&self) -> DetectionMethodsItem
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 DetectionMethodsItem
impl Debug for DetectionMethodsItem
Source§impl<'de> Deserialize<'de> for DetectionMethodsItem
impl<'de> Deserialize<'de> for DetectionMethodsItem
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<&DetectionMethodsItem> for DetectionMethodsItem
impl From<&DetectionMethodsItem> for DetectionMethodsItem
Source§fn from(value: &DetectionMethodsItem) -> Self
fn from(value: &DetectionMethodsItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DetectionMethodsItem
impl RefUnwindSafe for DetectionMethodsItem
impl Send for DetectionMethodsItem
impl Sync for DetectionMethodsItem
impl Unpin for DetectionMethodsItem
impl UnwindSafe for DetectionMethodsItem
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