pub struct Record {
pub kind: RecordKind,
pub message: String,
pub time: DateTime<Utc>,
}
Expand description
This structure represents a log record and contains message string, creation timestamp (DateTime
<Utc
>)
and record kind (RecordKind
).
Fields§
§kind: RecordKind
§message: String
§time: DateTime<Utc>
Implementations§
Trait Implementations§
impl Eq for Record
impl StructuralPartialEq for Record
Auto Trait Implementations§
impl Freeze for Record
impl RefUnwindSafe for Record
impl Send for Record
impl Sync for Record
impl Unpin for Record
impl UnwindSafe for Record
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