pub struct PreparedUpdate {
pub version: String,
pub platform: String,
pub kind: PreparedUpdateKind,
pub artifact_path: PathBuf,
pub artifact: FileDigest,
pub patch_path: Option<PathBuf>,
pub bytes_downloaded: u64,
pub manifest: UpdateManifest,
}Fields§
§version: String§platform: String§kind: PreparedUpdateKind§artifact_path: PathBuf§artifact: FileDigest§patch_path: Option<PathBuf>§bytes_downloaded: u64§manifest: UpdateManifestTrait Implementations§
Source§impl Clone for PreparedUpdate
impl Clone for PreparedUpdate
Source§fn clone(&self) -> PreparedUpdate
fn clone(&self) -> PreparedUpdate
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 PreparedUpdate
impl Debug for PreparedUpdate
Source§impl<'de> Deserialize<'de> for PreparedUpdate
impl<'de> Deserialize<'de> for PreparedUpdate
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 PreparedUpdate
impl RefUnwindSafe for PreparedUpdate
impl Send for PreparedUpdate
impl Sync for PreparedUpdate
impl Unpin for PreparedUpdate
impl UnsafeUnpin for PreparedUpdate
impl UnwindSafe for PreparedUpdate
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