pub struct SaveSummary {
pub version: Option<u32>,
pub format: Option<FormatId>,
pub edition: Option<GameEdition>,
pub expansion_type: Option<ExpansionType>,
pub name: Option<String>,
pub class: Option<Class>,
pub level: Option<u8>,
pub title: Option<String>,
pub issues: Vec<ParseIssue>,
}Expand description
Lightweight metadata summary extracted from header + character section only.
Fields§
§version: Option<u32>Numeric version stored in the file header when readable.
format: Option<FormatId>Detected format id (FormatId) from the header version when readable.
edition: Option<GameEdition>Edition family inferred from known format ids.
expansion_type: Option<ExpansionType>Character expansion mode inferred using format-specific rules.
name: Option<String>Character name from the character section.
class: Option<Class>Character class from the character section.
level: Option<u8>Character level from the character section.
title: Option<String>Character title derived from progression/class/expansion/hardcore using default D2R rules.
issues: Vec<ParseIssue>Non-fatal issues collected during summarize in lax mode.
Trait Implementations§
Source§impl Clone for SaveSummary
impl Clone for SaveSummary
Source§fn clone(&self) -> SaveSummary
fn clone(&self) -> SaveSummary
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 SaveSummary
impl Debug for SaveSummary
Source§impl Default for SaveSummary
impl Default for SaveSummary
Source§fn default() -> SaveSummary
fn default() -> SaveSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SaveSummary
impl<'de> Deserialize<'de> for SaveSummary
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 SaveSummary
impl RefUnwindSafe for SaveSummary
impl Send for SaveSummary
impl Sync for SaveSummary
impl Unpin for SaveSummary
impl UnsafeUnpin for SaveSummary
impl UnwindSafe for SaveSummary
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