pub struct UpdateInfo {Show 15 fields
pub version: String,
pub download_url: String,
pub release_notes: String,
pub checksum: String,
pub checksums: HashMap<String, String>,
pub size: u64,
pub published_at: DateTime<Utc>,
pub is_mandatory: bool,
pub requires_restart: bool,
pub min_compatible_version: Option<String>,
pub delta_url: Option<String>,
pub delta_checksum: Option<String>,
pub delta_size: Option<u64>,
pub signature: Option<String>,
pub platform_metadata: Option<PlatformMetadata>,
}Expand description
Update information with comprehensive metadata
Fields§
§version: StringSemantic version (e.g., “1.2.3”)
download_url: StringDownload URL for the update package
release_notes: StringRelease notes and changelog
checksum: StringPrimary checksum (SHA256 recommended)
checksums: HashMap<String, String>Alternative checksums for verification
size: u64Size of update package in bytes
published_at: DateTime<Utc>When the update was published
is_mandatory: boolWhether this update is mandatory
requires_restart: boolWhether update requires application restart
min_compatible_version: Option<String>Minimum compatible version
delta_url: Option<String>Delta update URL (if available for incremental update)
delta_checksum: Option<String>Delta update checksum (if available)
delta_size: Option<u64>Delta update size (if available)
signature: Option<String>Cryptographic signature (Ed25519 or PGP)
platform_metadata: Option<PlatformMetadata>Platform-specific metadata
Trait Implementations§
Source§impl Clone for UpdateInfo
impl Clone for UpdateInfo
Source§fn clone(&self) -> UpdateInfo
fn clone(&self) -> UpdateInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 UpdateInfo
impl Debug for UpdateInfo
Source§impl<'de> Deserialize<'de> for UpdateInfo
impl<'de> Deserialize<'de> for UpdateInfo
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 UpdateInfo
impl RefUnwindSafe for UpdateInfo
impl Send for UpdateInfo
impl Sync for UpdateInfo
impl Unpin for UpdateInfo
impl UnwindSafe for UpdateInfo
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].