pub struct ReleaseContext<'a> {
pub installed: &'a Version,
pub channel: &'a str,
pub target: &'a str,
pub now: u64,
pub highest_seen: Option<&'a Version>,
}Expand description
The installed app’s state, used to judge a manifest.
Fields§
§installed: &'a Version§channel: &'a str§target: &'a strTauri updater target of this build.
now: u64Current Unix time.
highest_seen: Option<&'a Version>Highest version verified before, which the manifest may not go below.
Trait Implementations§
Source§impl<'a> Clone for ReleaseContext<'a>
impl<'a> Clone for ReleaseContext<'a>
Source§impl<'a> Debug for ReleaseContext<'a>
impl<'a> Debug for ReleaseContext<'a>
impl<'a> Eq for ReleaseContext<'a>
Source§impl<'a> PartialEq for ReleaseContext<'a>
impl<'a> PartialEq for ReleaseContext<'a>
impl<'a> StructuralPartialEq for ReleaseContext<'a>
Auto Trait Implementations§
impl<'a> Freeze for ReleaseContext<'a>
impl<'a> RefUnwindSafe for ReleaseContext<'a>
impl<'a> Send for ReleaseContext<'a>
impl<'a> Sync for ReleaseContext<'a>
impl<'a> Unpin for ReleaseContext<'a>
impl<'a> UnsafeUnpin for ReleaseContext<'a>
impl<'a> UnwindSafe for ReleaseContext<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.