pub struct FileHeaderEvent {
pub part: u8,
pub language: String,
pub odyssey: bool,
pub game_version: String,
pub build: String,
}
Expand description
Always the first event that is fired for a log file. In the case where a log file is Continued, the continued log file gets its own file header with a new part number.
Fields§
§part: u8
The part number for the log file. When just starting the game this will always be 1 and this is incremented with each continued log.
language: String
The language the player has configured.
odyssey: bool
Whether the player has Odyssey enabled.
game_version: String
The version of the game.
build: String
The internal build number for the version of the game.
Trait Implementations§
Source§impl Clone for FileHeaderEvent
impl Clone for FileHeaderEvent
Source§fn clone(&self) -> FileHeaderEvent
fn clone(&self) -> FileHeaderEvent
Returns a copy 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 FileHeaderEvent
impl Debug for FileHeaderEvent
Source§impl<'de> Deserialize<'de> for FileHeaderEvent
impl<'de> Deserialize<'de> for FileHeaderEvent
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
Source§impl PartialEq for FileHeaderEvent
impl PartialEq for FileHeaderEvent
Source§impl Serialize for FileHeaderEvent
impl Serialize for FileHeaderEvent
impl StructuralPartialEq for FileHeaderEvent
Auto Trait Implementations§
impl Freeze for FileHeaderEvent
impl RefUnwindSafe for FileHeaderEvent
impl Send for FileHeaderEvent
impl Sync for FileHeaderEvent
impl Unpin for FileHeaderEvent
impl UnwindSafe for FileHeaderEvent
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