pub struct RemoteRelease {
pub version: Version,
pub notes: Option<String>,
pub pub_date: Option<OffsetDateTime>,
pub data: RemoteReleaseInner,
}
Expand description
Information about a release returned by the remote update server.
This type can have one of two shapes: Server Format (Dynamic Format) and Static Format.
Fields§
§version: Version
Version to install.
notes: Option<String>
Release notes.
pub_date: Option<OffsetDateTime>
Release date.
data: RemoteReleaseInner
Release data.
Implementations§
Trait Implementations§
Source§impl Clone for RemoteRelease
impl Clone for RemoteRelease
Source§fn clone(&self) -> RemoteRelease
fn clone(&self) -> RemoteRelease
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RemoteRelease
impl Debug for RemoteRelease
Source§impl<'de> Deserialize<'de> for RemoteRelease
impl<'de> Deserialize<'de> for RemoteRelease
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RemoteRelease
impl RefUnwindSafe for RemoteRelease
impl Send for RemoteRelease
impl Sync for RemoteRelease
impl Unpin for RemoteRelease
impl UnwindSafe for RemoteRelease
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