pub struct DependabotAlertSecurityAdvisoryIdentifiersInner {
pub type: Type,
pub value: String,
}Expand description
DependabotAlertSecurityAdvisoryIdentifiersInner : An advisory identifier.
Fields§
§type: TypeThe type of advisory identifier.
value: StringThe value of the advisory identifer.
Implementations§
Source§impl DependabotAlertSecurityAdvisoryIdentifiersInner
impl DependabotAlertSecurityAdvisoryIdentifiersInner
Sourcepub fn new(
type: Type,
value: String,
) -> DependabotAlertSecurityAdvisoryIdentifiersInner
pub fn new( type: Type, value: String, ) -> DependabotAlertSecurityAdvisoryIdentifiersInner
An advisory identifier.
Trait Implementations§
Source§impl Clone for DependabotAlertSecurityAdvisoryIdentifiersInner
impl Clone for DependabotAlertSecurityAdvisoryIdentifiersInner
Source§fn clone(&self) -> DependabotAlertSecurityAdvisoryIdentifiersInner
fn clone(&self) -> DependabotAlertSecurityAdvisoryIdentifiersInner
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 Default for DependabotAlertSecurityAdvisoryIdentifiersInner
impl Default for DependabotAlertSecurityAdvisoryIdentifiersInner
Source§fn default() -> DependabotAlertSecurityAdvisoryIdentifiersInner
fn default() -> DependabotAlertSecurityAdvisoryIdentifiersInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DependabotAlertSecurityAdvisoryIdentifiersInner
impl<'de> Deserialize<'de> for DependabotAlertSecurityAdvisoryIdentifiersInner
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 PartialEq for DependabotAlertSecurityAdvisoryIdentifiersInner
impl PartialEq for DependabotAlertSecurityAdvisoryIdentifiersInner
Source§fn eq(&self, other: &DependabotAlertSecurityAdvisoryIdentifiersInner) -> bool
fn eq(&self, other: &DependabotAlertSecurityAdvisoryIdentifiersInner) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DependabotAlertSecurityAdvisoryIdentifiersInner
Auto Trait Implementations§
impl Freeze for DependabotAlertSecurityAdvisoryIdentifiersInner
impl RefUnwindSafe for DependabotAlertSecurityAdvisoryIdentifiersInner
impl Send for DependabotAlertSecurityAdvisoryIdentifiersInner
impl Sync for DependabotAlertSecurityAdvisoryIdentifiersInner
impl Unpin for DependabotAlertSecurityAdvisoryIdentifiersInner
impl UnwindSafe for DependabotAlertSecurityAdvisoryIdentifiersInner
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