pub struct PendingUpdate {
pub from: String,
pub to: String,
pub notes: String,
pub previous: Option<String>,
}Expand description
A downloaded release waiting for its first start: update.json in the
app’s config folder, written by the app or the host shell and read by the
app on its next start. Not sent over IPC.
Fields§
§from: StringVersion that downloaded the update.
to: StringVersion that will run after the install.
notes: StringThe release’s CHANGELOG section (Markdown).
previous: Option<String>The release before to, from the update manifest’s previous field.
Trait Implementations§
Source§impl Clone for PendingUpdate
impl Clone for PendingUpdate
Source§impl Debug for PendingUpdate
impl Debug for PendingUpdate
Source§impl<'de> Deserialize<'de> for PendingUpdate
impl<'de> Deserialize<'de> for PendingUpdate
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
impl Eq for PendingUpdate
Source§impl PartialEq for PendingUpdate
impl PartialEq for PendingUpdate
Source§impl Serialize for PendingUpdate
impl Serialize for PendingUpdate
impl StructuralPartialEq for PendingUpdate
Auto Trait Implementations§
impl Freeze for PendingUpdate
impl RefUnwindSafe for PendingUpdate
impl Send for PendingUpdate
impl Sync for PendingUpdate
impl Unpin for PendingUpdate
impl UnsafeUnpin for PendingUpdate
impl UnwindSafe for PendingUpdate
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