pub struct ReleaseInfo {
pub version: String,
pub description: String,
pub has_downloads: bool,
pub downloads_need_user: bool,
pub downloads_need_ownership: bool,
pub release_covered: bool,
pub release_access: Option<ReleaseAccess>,
pub upgrade_url: Option<String>,
}Expand description
A release’s plain-text notes, plus enough to know an installer exists and who may download it.
Fields§
§version: StringThe release version, as the server echoes it back.
description: StringRelease notes; empty when there are none.
has_downloads: bool§downloads_need_user: boolDownloading requires an authenticated customer.
downloads_need_ownership: boolDownloading requires owning or subscribing to the product.
release_covered: boolWhether the customer’s licenses cover this release. False only when
Moonbase says they don’t, for a license that covers only some versions;
downloading it is then refused with Error::ReleaseNotCovered.
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 ReleaseInfo
impl Clone for ReleaseInfo
Source§impl Debug for ReleaseInfo
impl Debug for ReleaseInfo
Source§impl Default for ReleaseInfo
impl Default for ReleaseInfo
impl Eq for ReleaseInfo
Source§impl PartialEq for ReleaseInfo
impl PartialEq for ReleaseInfo
Source§impl Serialize for ReleaseInfo
impl Serialize for ReleaseInfo
impl StructuralPartialEq for ReleaseInfo
Auto Trait Implementations§
impl Freeze for ReleaseInfo
impl RefUnwindSafe for ReleaseInfo
impl Send for ReleaseInfo
impl Sync for ReleaseInfo
impl Unpin for ReleaseInfo
impl UnsafeUnpin for ReleaseInfo
impl UnwindSafe for ReleaseInfo
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