pub struct Snapshot {Show 18 fields
pub game: Game,
pub character_name: String,
pub description: String,
pub map_filename: String,
pub map_id: i16,
pub elevation: i16,
pub file_date: DateParts,
pub game_date: DateParts,
pub gender: Gender,
pub level: i32,
pub experience: i32,
pub unspent_skill_points: i32,
pub karma: i32,
pub reputation: i32,
pub global_var_count: usize,
pub selected_traits: [i32; 2],
pub hp: Option<i32>,
pub game_time: u32,
}Fields§
§game: Game§character_name: String§description: String§map_filename: String§map_id: i16§elevation: i16§file_date: DateParts§game_date: DateParts§gender: Gender§level: i32§experience: i32§unspent_skill_points: i32§karma: i32§reputation: i32§global_var_count: usize§selected_traits: [i32; 2]§hp: Option<i32>§game_time: u32Trait Implementations§
Source§impl<'de> Deserialize<'de> for Snapshot
impl<'de> Deserialize<'de> for Snapshot
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
impl Eq for Snapshot
impl StructuralPartialEq for Snapshot
Auto Trait Implementations§
impl Freeze for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnsafeUnpin for Snapshot
impl UnwindSafe for Snapshot
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