pub struct SessionLog {
pub entries: Vec<LogEntry>,
pub truncated: bool,
}Expand description
A parsed session log.
Fields§
§entries: Vec<LogEntry>§truncated: boolThe read stopped at the byte cap, so the log is the start only.
Trait Implementations§
Source§impl Clone for SessionLog
impl Clone for SessionLog
Source§impl Debug for SessionLog
impl Debug for SessionLog
Source§impl Default for SessionLog
impl Default for SessionLog
Source§impl<'de> Deserialize<'de> for SessionLog
impl<'de> Deserialize<'de> for SessionLog
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
impl Eq for SessionLog
Source§impl PartialEq for SessionLog
impl PartialEq for SessionLog
Source§impl Serialize for SessionLog
impl Serialize for SessionLog
impl StructuralPartialEq for SessionLog
Auto Trait Implementations§
impl Forget for SessionLog
impl Freeze for SessionLog
impl Move for SessionLog
impl RefUnwindSafe for SessionLog
impl Send for SessionLog
impl Sync for SessionLog
impl Unpin for SessionLog
impl UnsafeUnpin for SessionLog
impl UnwindSafe for SessionLog
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.