pub struct Entry {
pub sequence: u64,
pub created_at_secs: u64,
pub level: Level,
pub source: String,
pub topic: Option<String>,
pub message: String,
pub truncated: bool,
}Expand description
Immutable retained row; sequence identities belong to one log instance.
Fields§
§sequence: u64Monotonic identity, starting at zero and never reused within one log.
created_at_secs: u64Admitted caller-supplied timestamp.
level: LevelObservation severity.
source: StringBounded application or component label.
topic: Option<String>Optional bounded topic label.
message: StringBounded message text.
truncated: boolWhether the original message exceeded its byte limit.
Trait Implementations§
impl Eq for Entry
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
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