pub struct FixSuggestion {
pub name: String,
pub current_version: String,
pub resolved_version: Version,
pub advisory_ids: Vec<String>,
}Expand description
A fix suggestion for a single gem: the resolved minimum safe version.
Fields§
§name: String§current_version: String§resolved_version: Version§advisory_ids: Vec<String>Trait Implementations§
Source§impl Clone for FixSuggestion
impl Clone for FixSuggestion
Source§fn clone(&self) -> FixSuggestion
fn clone(&self) -> FixSuggestion
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 moreAuto Trait Implementations§
impl Freeze for FixSuggestion
impl RefUnwindSafe for FixSuggestion
impl Send for FixSuggestion
impl Sync for FixSuggestion
impl Unpin for FixSuggestion
impl UnsafeUnpin for FixSuggestion
impl UnwindSafe for FixSuggestion
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