pub struct Message {
pub index: u64,
pub version: u64,
pub written: u64,
pub counted: u64,
pub log: String,
pub source: String,
pub source_line: i32,
pub text: String,
}Expand description
A message of the table and its counts at the time of the read.
Fields§
§index: u64Its position in the table, from 0, in the order first seen.
version: u64The table’s version at its last line.
written: u64Lines that reached the log.
counted: u64Lines the throttle counted instead.
log: StringThe log’s file name, error.log.
source: StringThe game’s C++ source file name, triggerimplementation.cpp.
source_line: i32Its line.
text: StringThe text, without the line end.
Implementations§
Trait Implementations§
impl Eq for Message
impl StructuralPartialEq for Message
Auto Trait Implementations§
impl Forget for Message
impl Freeze for Message
impl Move for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnsafeUnpin for Message
impl UnwindSafe for Message
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