pub struct FullMetadata {
pub slot_name: Option<String>,
pub display_name: Option<String>,
pub is_online: bool,
pub was_multiplayer: bool,
pub game_mode: Option<String>,
pub level_name: Option<String>,
pub build_number: Option<u32>,
pub build_branch: Option<String>,
pub saves_count: Option<u32>,
pub latest_version: Option<u32>,
pub data_version: Option<u32>,
pub playtime_seconds: Option<f64>,
}Expand description
Full metadata from all known GVAS properties.
Fields§
§slot_name: Option<String>§display_name: Option<String>§is_online: bool§was_multiplayer: bool§game_mode: Option<String>§level_name: Option<String>§build_number: Option<u32>§build_branch: Option<String>§saves_count: Option<u32>§latest_version: Option<u32>§data_version: Option<u32>§playtime_seconds: Option<f64>Trait Implementations§
Source§impl Clone for FullMetadata
impl Clone for FullMetadata
Source§fn clone(&self) -> FullMetadata
fn clone(&self) -> FullMetadata
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 FullMetadata
impl Debug for FullMetadata
Source§impl Default for FullMetadata
impl Default for FullMetadata
Source§fn default() -> FullMetadata
fn default() -> FullMetadata
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FullMetadata
impl RefUnwindSafe for FullMetadata
impl Send for FullMetadata
impl Sync for FullMetadata
impl Unpin for FullMetadata
impl UnsafeUnpin for FullMetadata
impl UnwindSafe for FullMetadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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