pub struct OutdatedInfo {
pub name: String,
pub current: String,
pub latest_matching: Option<String>,
pub latest_available: Option<String>,
pub source_kind: DepSourceKind,
}Expand description
Information about one outdated dependency.
Fields§
§name: String§current: String§latest_matching: Option<String>Latest version matching the manifest’s version requirement.
latest_available: Option<String>Latest version available in the registry (may be outside the requirement).
source_kind: DepSourceKindSource kind (for git/path deps, version columns don’t apply).
Implementations§
Source§impl OutdatedInfo
impl OutdatedInfo
pub fn is_up_to_date(&self) -> bool
Trait Implementations§
Source§impl Clone for OutdatedInfo
impl Clone for OutdatedInfo
Source§fn clone(&self) -> OutdatedInfo
fn clone(&self) -> OutdatedInfo
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 OutdatedInfo
impl RefUnwindSafe for OutdatedInfo
impl Send for OutdatedInfo
impl Sync for OutdatedInfo
impl Unpin for OutdatedInfo
impl UnsafeUnpin for OutdatedInfo
impl UnwindSafe for OutdatedInfo
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