pub struct Log<'a> {
pub time: i64,
pub contents: Vec<Content<'a>>,
pub collectTime: Option<i64>,
}
Fields§
§time: i64
§contents: Vec<Content<'a>>
§collectTime: Option<i64>
Trait Implementations§
Source§impl<'a> MessageRead<'a> for Log<'a>
impl<'a> MessageRead<'a> for Log<'a>
Source§fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
Constructs an instance of
Self
by reading from the given bytes
via the given reader. Read moreSource§impl<'a> MessageWrite for Log<'a>
impl<'a> MessageWrite for Log<'a>
impl<'a> StructuralPartialEq for Log<'a>
Auto Trait Implementations§
impl<'a> Freeze for Log<'a>
impl<'a> RefUnwindSafe for Log<'a>
impl<'a> Send for Log<'a>
impl<'a> Sync for Log<'a>
impl<'a> Unpin for Log<'a>
impl<'a> UnwindSafe for Log<'a>
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