pub struct ServiceVersion {
pub version: String,
pub released_at: String,
}Expand description
Service version (the spool/spool-mcp/spool-daemon binaries). Tracked independently of the GUI version so the service can be updated without reinstalling the desktop app.
Fields§
§version: String§released_at: StringISO 8601 timestamp of when the binaries were released.
Implementations§
Trait Implementations§
Source§impl Clone for ServiceVersion
impl Clone for ServiceVersion
Source§fn clone(&self) -> ServiceVersion
fn clone(&self) -> ServiceVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServiceVersion
impl Debug for ServiceVersion
Source§impl<'de> Deserialize<'de> for ServiceVersion
impl<'de> Deserialize<'de> for ServiceVersion
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
Source§impl PartialEq for ServiceVersion
impl PartialEq for ServiceVersion
Source§fn eq(&self, other: &ServiceVersion) -> bool
fn eq(&self, other: &ServiceVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ServiceVersion
impl Serialize for ServiceVersion
impl Eq for ServiceVersion
impl StructuralPartialEq for ServiceVersion
Auto Trait Implementations§
impl Freeze for ServiceVersion
impl RefUnwindSafe for ServiceVersion
impl Send for ServiceVersion
impl Sync for ServiceVersion
impl Unpin for ServiceVersion
impl UnsafeUnpin for ServiceVersion
impl UnwindSafe for ServiceVersion
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.