pub struct DependabotAlertSecurityAdvisoryIdentifiersItem {
pub type_: DependabotAlertSecurityAdvisoryIdentifiersItemType,
pub value: String,
}
Expand description
An advisory identifier.
JSON schema
{
"description": "An advisory identifier.",
"type": "object",
"required": [
"type",
"value"
],
"properties": {
"type": {
"description": "The type of advisory identifier.",
"type": "string",
"enum": [
"CVE",
"GHSA"
]
},
"value": {
"description": "The value of the advisory identifer.",
"type": "string"
}
},
"additionalProperties": false
}
Fields§
§type_: DependabotAlertSecurityAdvisoryIdentifiersItemType
The type of advisory identifier.
value: String
The value of the advisory identifer.
Implementations§
Trait Implementations§
Source§impl Clone for DependabotAlertSecurityAdvisoryIdentifiersItem
impl Clone for DependabotAlertSecurityAdvisoryIdentifiersItem
Source§fn clone(&self) -> DependabotAlertSecurityAdvisoryIdentifiersItem
fn clone(&self) -> DependabotAlertSecurityAdvisoryIdentifiersItem
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 DependabotAlertSecurityAdvisoryIdentifiersItem
impl<'de> Deserialize<'de> for DependabotAlertSecurityAdvisoryIdentifiersItem
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<&DependabotAlertSecurityAdvisoryIdentifiersItem> for DependabotAlertSecurityAdvisoryIdentifiersItem
impl From<&DependabotAlertSecurityAdvisoryIdentifiersItem> for DependabotAlertSecurityAdvisoryIdentifiersItem
Source§fn from(value: &DependabotAlertSecurityAdvisoryIdentifiersItem) -> Self
fn from(value: &DependabotAlertSecurityAdvisoryIdentifiersItem) -> Self
Converts to this type from the input type.
Source§impl From<DependabotAlertSecurityAdvisoryIdentifiersItem> for DependabotAlertSecurityAdvisoryIdentifiersItem
impl From<DependabotAlertSecurityAdvisoryIdentifiersItem> for DependabotAlertSecurityAdvisoryIdentifiersItem
Source§fn from(value: DependabotAlertSecurityAdvisoryIdentifiersItem) -> Self
fn from(value: DependabotAlertSecurityAdvisoryIdentifiersItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DependabotAlertSecurityAdvisoryIdentifiersItem
impl RefUnwindSafe for DependabotAlertSecurityAdvisoryIdentifiersItem
impl Send for DependabotAlertSecurityAdvisoryIdentifiersItem
impl Sync for DependabotAlertSecurityAdvisoryIdentifiersItem
impl Unpin for DependabotAlertSecurityAdvisoryIdentifiersItem
impl UnwindSafe for DependabotAlertSecurityAdvisoryIdentifiersItem
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