pub struct PatchList {
pub id: String,
pub patch_length: u64,
pub content_location: String,
pub requested_version: String,
pub patches: Vec<PatchEntry>,
}
Expand description
A list of patch files the client is requested to download, and install.
Fields§
§id: String
The id of the patch list.
patch_length: u64
Size of all the patch files by size (in bytes.)
content_location: String
The content location, usually from an HTTP URL.
requested_version: String
The version that was requested from the server.
patches: Vec<PatchEntry>
The list of patches.
Implementations§
source§impl PatchList
impl PatchList
pub fn from_string(patch_type: PatchListType, encoded: &str) -> Self
pub fn to_string(&self, patch_type: PatchListType) -> String
Auto Trait Implementations§
impl Freeze for PatchList
impl RefUnwindSafe for PatchList
impl Send for PatchList
impl Sync for PatchList
impl Unpin for PatchList
impl UnwindSafe for PatchList
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