Struct egs_api::api::types::DownloadManifest[][src]

pub struct DownloadManifest {
    pub manifest_file_version: String,
    pub b_is_file_data: bool,
    pub app_id: String,
    pub app_name_string: String,
    pub build_version_string: String,
    pub launch_exe_string: String,
    pub launch_command: String,
    pub prereq_ids: Option<Vec<Value>>,
    pub prereq_name: String,
    pub prereq_path: String,
    pub prereq_args: String,
    pub file_manifest_list: Vec<FileManifestList>,
    pub chunk_hash_list: HashMap<String, String>,
    pub chunk_sha_list: Option<HashMap<String, String>>,
    pub data_group_list: HashMap<String, String>,
    pub chunk_filesize_list: HashMap<String, String>,
    pub custom_fields: Value,
}

Fields

manifest_file_version: Stringb_is_file_data: boolapp_id: Stringapp_name_string: Stringbuild_version_string: Stringlaunch_exe_string: Stringlaunch_command: Stringprereq_ids: Option<Vec<Value>>prereq_name: Stringprereq_path: Stringprereq_args: Stringfile_manifest_list: Vec<FileManifestList>chunk_hash_list: HashMap<String, String>chunk_sha_list: Option<HashMap<String, String>>data_group_list: HashMap<String, String>chunk_filesize_list: HashMap<String, String>custom_fields: Value

Implementations

impl DownloadManifest[src]

pub fn blob_to_num(str: String) -> u64[src]

Convert numbers in the Download Manifest from little indian and %03d concatenated string

pub fn get_chunk_dir(version: u64) -> &'static str[src]

Get chunk dir based on the manifest version

Get the download links from the downloaded manifest

Trait Implementations

impl Clone for DownloadManifest[src]

impl Debug for DownloadManifest[src]

impl Default for DownloadManifest[src]

impl<'de> Deserialize<'de> for DownloadManifest[src]

impl PartialEq<DownloadManifest> for DownloadManifest[src]

impl Serialize for DownloadManifest[src]

impl StructuralPartialEq for DownloadManifest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.