pub struct AvailableVersion {
pub version: Version,
pub message: String,
pub url: String,
}Expand description
A newer available version, as reported by the version-check server.
Fields§
§version: VersionThe newest available version.
message: StringHuman-readable message from the server.
url: StringURL with release notes / downloads.
Trait Implementations§
Source§impl Clone for AvailableVersion
impl Clone for AvailableVersion
Source§fn clone(&self) -> AvailableVersion
fn clone(&self) -> AvailableVersion
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 moreSource§impl Debug for AvailableVersion
impl Debug for AvailableVersion
Source§impl PartialEq for AvailableVersion
impl PartialEq for AvailableVersion
impl StructuralPartialEq for AvailableVersion
Auto Trait Implementations§
impl Freeze for AvailableVersion
impl RefUnwindSafe for AvailableVersion
impl Send for AvailableVersion
impl Sync for AvailableVersion
impl Unpin for AvailableVersion
impl UnsafeUnpin for AvailableVersion
impl UnwindSafe for AvailableVersion
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