pub struct EntryInput<'a> {
pub created_at_secs: u64,
pub level: Level,
pub source: &'a str,
pub topic: Option<&'a str>,
pub message: &'a str,
}Expand description
Borrowed append input; bounded retained strings are copied only after admission.
Fields§
§created_at_secs: u64Caller-supplied whole seconds; may not regress within this log.
level: LevelObservation severity.
source: &'a strApplication or component label.
topic: Option<&'a str>Optional application-defined topic.
message: &'a strMessage to retain, truncated to the configured byte ceiling.
Trait Implementations§
Source§impl<'a> Clone for EntryInput<'a>
impl<'a> Clone for EntryInput<'a>
impl<'a> Copy for EntryInput<'a>
Auto Trait Implementations§
impl<'a> Freeze for EntryInput<'a>
impl<'a> RefUnwindSafe for EntryInput<'a>
impl<'a> Send for EntryInput<'a>
impl<'a> Sync for EntryInput<'a>
impl<'a> Unpin for EntryInput<'a>
impl<'a> UnsafeUnpin for EntryInput<'a>
impl<'a> UnwindSafe for EntryInput<'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