pub struct EntryTimestamps {
pub source_realtime_usec: Option<u64>,
pub entry_realtime_usec: Option<u64>,
pub entry_monotonic_usec: Option<u64>,
}Expand description
Journal entry timestamp overrides used by writer-side APIs.
Fields§
§source_realtime_usec: Option<u64>Optional source timestamp for _SOURCE_REALTIME_TIMESTAMP field injection.
entry_realtime_usec: Option<u64>Optional journal entry realtime timestamp override.
entry_monotonic_usec: Option<u64>Optional journal entry monotonic timestamp override.
Implementations§
Source§impl EntryTimestamps
impl EntryTimestamps
pub fn with_source_realtime_usec(self, ts: u64) -> Self
pub fn with_entry_realtime_usec(self, ts: u64) -> Self
pub fn with_entry_monotonic_usec(self, ts: u64) -> Self
Trait Implementations§
Source§impl Clone for EntryTimestamps
impl Clone for EntryTimestamps
impl Copy for EntryTimestamps
Source§impl Debug for EntryTimestamps
impl Debug for EntryTimestamps
Source§impl Default for EntryTimestamps
impl Default for EntryTimestamps
impl Eq for EntryTimestamps
Source§impl PartialEq for EntryTimestamps
impl PartialEq for EntryTimestamps
impl StructuralPartialEq for EntryTimestamps
Auto Trait Implementations§
impl Freeze for EntryTimestamps
impl RefUnwindSafe for EntryTimestamps
impl Send for EntryTimestamps
impl Sync for EntryTimestamps
impl Unpin for EntryTimestamps
impl UnsafeUnpin for EntryTimestamps
impl UnwindSafe for EntryTimestamps
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