pub struct UpgradeNotice {
pub current_version: String,
pub latest_version: String,
pub upgrade_command: String,
pub changelog_url: String,
}Fields§
§current_version: String§latest_version: String§upgrade_command: String§changelog_url: StringTrait Implementations§
Source§impl Clone for UpgradeNotice
impl Clone for UpgradeNotice
Source§fn clone(&self) -> UpgradeNotice
fn clone(&self) -> UpgradeNotice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpgradeNotice
impl Debug for UpgradeNotice
impl Eq for UpgradeNotice
Source§impl PartialEq for UpgradeNotice
impl PartialEq for UpgradeNotice
impl StructuralPartialEq for UpgradeNotice
Auto Trait Implementations§
impl Freeze for UpgradeNotice
impl RefUnwindSafe for UpgradeNotice
impl Send for UpgradeNotice
impl Sync for UpgradeNotice
impl Unpin for UpgradeNotice
impl UnsafeUnpin for UpgradeNotice
impl UnwindSafe for UpgradeNotice
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