pub struct LoggedMessage {
pub log_level: u8,
pub timestamp: u64,
pub message: String,
}
Fields§
§log_level: u8
§timestamp: u64
§message: String
Trait Implementations§
Source§impl Clone for LoggedMessage
impl Clone for LoggedMessage
Source§fn clone(&self) -> LoggedMessage
fn clone(&self) -> LoggedMessage
Returns a duplicate of the value. Read more
1.0.0 · 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 LoggedMessage
impl Debug for LoggedMessage
Auto Trait Implementations§
impl Freeze for LoggedMessage
impl RefUnwindSafe for LoggedMessage
impl Send for LoggedMessage
impl Sync for LoggedMessage
impl Unpin for LoggedMessage
impl UnwindSafe for LoggedMessage
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