pub struct Header {
pub date: String,
pub revision: u8,
pub boss_id: u16,
}
Expand description
An EVTC log header.
Fields§
§date: String
Date this log was recorded.
revision: u8
EVTC API revision used.
boss_id: u16
Boss id of the log target.
An id of 1
indicates a WvW log.
An id of 2
indicates a map log.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Header
impl<'de> Deserialize<'de> for Header
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 Parse for Header
impl Parse for Header
Source§type Error = ParseError
type Error = ParseError
Associated error which can happen during parsing.
Source§fn parse(input: &mut impl Read) -> Result<Self, Self::Error>
fn parse(input: &mut impl Read) -> Result<Self, Self::Error>
Parses a value of this type from the input.
Source§fn parse_multi<T>(input: &mut impl Read, count: usize) -> Result<T, Self::Error>where
T: FromIterator<Self>,
fn parse_multi<T>(input: &mut impl Read, count: usize) -> Result<T, Self::Error>where
T: FromIterator<Self>,
Parses multiple values of this type from the input into a
Vec
.impl Eq for Header
impl StructuralPartialEq for Header
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.