pub enum DependabotAlertDependencyScope {
Development,
Runtime,
}
Expand description
The execution scope of the vulnerable dependency.
JSON schema
{
"description": "The execution scope of the vulnerable dependency.",
"type": "string",
"enum": [
"development",
"runtime"
]
}
Variants§
Trait Implementations§
Source§impl Clone for DependabotAlertDependencyScope
impl Clone for DependabotAlertDependencyScope
Source§fn clone(&self) -> DependabotAlertDependencyScope
fn clone(&self) -> DependabotAlertDependencyScope
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 DependabotAlertDependencyScope
impl<'de> Deserialize<'de> for DependabotAlertDependencyScope
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<&DependabotAlertDependencyScope> for DependabotAlertDependencyScope
impl From<&DependabotAlertDependencyScope> for DependabotAlertDependencyScope
Source§fn from(value: &DependabotAlertDependencyScope) -> Self
fn from(value: &DependabotAlertDependencyScope) -> Self
Converts to this type from the input type.
Source§impl Ord for DependabotAlertDependencyScope
impl Ord for DependabotAlertDependencyScope
Source§fn cmp(&self, other: &DependabotAlertDependencyScope) -> Ordering
fn cmp(&self, other: &DependabotAlertDependencyScope) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DependabotAlertDependencyScope
impl PartialEq for DependabotAlertDependencyScope
Source§fn eq(&self, other: &DependabotAlertDependencyScope) -> bool
fn eq(&self, other: &DependabotAlertDependencyScope) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for DependabotAlertDependencyScope
impl PartialOrd for DependabotAlertDependencyScope
Source§impl TryFrom<&String> for DependabotAlertDependencyScope
impl TryFrom<&String> for DependabotAlertDependencyScope
Source§impl TryFrom<&str> for DependabotAlertDependencyScope
impl TryFrom<&str> for DependabotAlertDependencyScope
impl Copy for DependabotAlertDependencyScope
impl Eq for DependabotAlertDependencyScope
impl StructuralPartialEq for DependabotAlertDependencyScope
Auto Trait Implementations§
impl Freeze for DependabotAlertDependencyScope
impl RefUnwindSafe for DependabotAlertDependencyScope
impl Send for DependabotAlertDependencyScope
impl Sync for DependabotAlertDependencyScope
impl Unpin for DependabotAlertDependencyScope
impl UnwindSafe for DependabotAlertDependencyScope
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