pub struct BackupData {
pub version: u32,
pub app_version: String,
pub date: String,
pub games: Vec<Game>,
pub game_details: Vec<GameDetails>,
pub wishlist_game: Vec<WishlistGame>,
pub game_extras: Vec<GameExtras>,
pub system_requirements: Vec<SystemRequirements>,
pub game_data_paths: Vec<GameDataPath>,
}Expand description
Estrutura do arquivo de ‘backup’.
Contém metadados e todos os dados exportados da aplicação.
Fields§
§version: u32§app_version: String§date: String§games: Vec<Game>§game_details: Vec<GameDetails>§wishlist_game: Vec<WishlistGame>§game_extras: Vec<GameExtras>Dados técnicos obtidos do PCGamingWiki. Campo ausente em backups anteriores ao schema v4 — tratado como lista vazia.
system_requirements: Vec<SystemRequirements>Requisitos de sistema por jogo/OS/tier.
game_data_paths: Vec<GameDataPath>Caminhos de save e config por jogo/OS.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BackupData
impl<'de> Deserialize<'de> for BackupData
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 BackupData
impl RefUnwindSafe for BackupData
impl Send for BackupData
impl Sync for BackupData
impl Unpin for BackupData
impl UnsafeUnpin for BackupData
impl UnwindSafe for BackupData
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
§impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
§fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
§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>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more