pub struct Advisory {
pub ids: Vec<String>,
pub severity: Level,
pub range: VersionRange,
pub comment: String,
}
Expand description
Advisory to upgrade to the package version
Advisory means a general important fix was included in this release, and all previous releases were potentially affected. We don’t play with exact ranges.
Fields
ids: Vec<String>
severity: Level
range: VersionRange
comment: String
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Advisory
impl<'de> Deserialize<'de> for Advisory
sourcefn 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
sourceimpl From<VersionRange> for Advisory
impl From<VersionRange> for Advisory
sourcefn from(r: VersionRange) -> Self
fn from(r: VersionRange) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for Advisory
impl Send for Advisory
impl Sync for Advisory
impl Unpin for Advisory
impl UnwindSafe for Advisory
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more