pub struct UpdateInfo {
pub available: bool,
pub current_version: String,
pub latest_version: Option<String>,
pub release_notes: String,
pub has_downloads: bool,
pub can_download: bool,
pub covered: bool,
pub release_access: Option<ReleaseAccess>,
pub upgrade_url: Option<String>,
}Expand description
The release behind an available update.
Fields§
§available: bool§current_version: String§latest_version: Option<String>§release_notes: String§has_downloads: bool§can_download: boolWhether this license may download the installer, per the product’s release access control.
covered: boolFalse when Moonbase says the customer’s licenses don’t cover the new
version (can_download is false then too): it needs an upgrade.
release_access: Option<ReleaseAccess>What the customer’s licenses cover, when that isn’t every release.
upgrade_url: Option<String>Where to buy the upgrade or renewal, while the store sells one.
Trait Implementations§
Source§impl Clone for UpdateInfo
impl Clone for UpdateInfo
Source§impl Debug for UpdateInfo
impl Debug for UpdateInfo
impl Eq for UpdateInfo
Source§impl PartialEq for UpdateInfo
impl PartialEq for UpdateInfo
Source§impl Serialize for UpdateInfo
impl Serialize for UpdateInfo
impl StructuralPartialEq for UpdateInfo
Auto Trait Implementations§
impl Freeze for UpdateInfo
impl RefUnwindSafe for UpdateInfo
impl Send for UpdateInfo
impl Sync for UpdateInfo
impl Unpin for UpdateInfo
impl UnsafeUnpin for UpdateInfo
impl UnwindSafe for UpdateInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.