pub struct EntryTimestamps {
pub source_realtime_usec: Option<u64>,
pub entry_realtime_usec: Option<u64>,
pub entry_monotonic_usec: Option<u64>,
}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) -> EntryTimestamps
pub fn with_entry_realtime_usec(self, ts: u64) -> EntryTimestamps
pub fn with_entry_monotonic_usec(self, ts: u64) -> EntryTimestamps
Trait Implementations§
Source§impl Clone for EntryTimestamps
impl Clone for EntryTimestamps
Source§fn clone(&self) -> EntryTimestamps
fn clone(&self) -> EntryTimestamps
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EntryTimestamps
Source§impl Debug for EntryTimestamps
impl Debug for EntryTimestamps
Source§impl Default for EntryTimestamps
impl Default for EntryTimestamps
Source§fn default() -> EntryTimestamps
fn default() -> EntryTimestamps
Returns the “default value” for a type. Read more
impl Eq for EntryTimestamps
Source§impl PartialEq for EntryTimestamps
impl PartialEq for EntryTimestamps
Source§fn eq(&self, other: &EntryTimestamps) -> bool
fn eq(&self, other: &EntryTimestamps) -> bool
Tests for
self and other values to be equal, and is used by ==.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