pub struct UvPythonCheck {
pub series: String,
pub installed_version: Version,
pub latest_version: Version,
pub has_update: bool,
pub python_info: UvPythonInfo,
}Expand description
Result of checking a Python series for updates
Fields§
§series: StringThe major.minor series (e.g., “3.11”)
installed_version: VersionCurrently installed version in this series
latest_version: VersionLatest available patch in this series from endoflife.date
has_update: boolWhether an update is available
python_info: UvPythonInfoFull uv python info for the installed version
Implementations§
Source§impl UvPythonCheck
impl UvPythonCheck
Sourcepub fn is_patch_update(&self) -> bool
pub fn is_patch_update(&self) -> bool
Get update severity for coloring (patch or minor)
Trait Implementations§
Source§impl Clone for UvPythonCheck
impl Clone for UvPythonCheck
Source§fn clone(&self) -> UvPythonCheck
fn clone(&self) -> UvPythonCheck
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 UvPythonCheck
impl RefUnwindSafe for UvPythonCheck
impl Send for UvPythonCheck
impl Sync for UvPythonCheck
impl Unpin for UvPythonCheck
impl UnwindSafe for UvPythonCheck
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