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: u8The 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: StringThe language the player has configured.
odyssey: boolWhether the player has Odyssey enabled.
game_version: StringThe version of the game.
build: StringThe 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 duplicate of the value. Read more
1.0.0 (const: unstable) · 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§fn eq(&self, other: &FileHeaderEvent) -> bool
fn eq(&self, other: &FileHeaderEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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