pub struct Issue {
pub id: String,
pub severity: Level,
pub range: VersionRange,
pub comment: String,
}Expand description
Issue with a package version
Issue is a kind of opposite of Advisory. It reports
a problem with package in a given version. It leaves the
question open if any previous and following versions might
also be affected, but will be considered open and affecting
all following versions within the range until an advisory
is found for it, matching the id.
Fields§
§id: String§severity: Level§range: VersionRange§comment: StringImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Issue
impl<'de> Deserialize<'de> for Issue
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 Issue
impl RefUnwindSafe for Issue
impl Send for Issue
impl Sync for Issue
impl Unpin for Issue
impl UnwindSafe for Issue
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