pub struct GlobalCheck {
pub package: GlobalPackage,
pub latest: Version,
pub has_update: bool,
}Expand description
Result of checking a global package
Fields§
§package: GlobalPackage§latest: Version§has_update: boolImplementations§
Source§impl GlobalCheck
impl GlobalCheck
Sourcepub fn update_severity(&self) -> Option<UpdateSeverity>
pub fn update_severity(&self) -> Option<UpdateSeverity>
Get update severity for coloring
Trait Implementations§
Source§impl Clone for GlobalCheck
impl Clone for GlobalCheck
Source§fn clone(&self) -> GlobalCheck
fn clone(&self) -> GlobalCheck
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 GlobalCheck
impl RefUnwindSafe for GlobalCheck
impl Send for GlobalCheck
impl Sync for GlobalCheck
impl Unpin for GlobalCheck
impl UnwindSafe for GlobalCheck
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