pub struct TimelineEntry {
pub seq: u64,
pub source: TimelineSource,
pub lsn: Option<u64>,
pub timestamp: Option<u32>,
pub space_id: Option<u32>,
pub page_no: Option<u32>,
pub action: TimelineAction,
}Expand description
A single entry in the unified timeline.
Fields§
§seq: u64Sequence number assigned after sorting (1-based).
source: TimelineSourceWhich log source produced this entry.
lsn: Option<u64>LSN (available for redo and undo entries).
timestamp: Option<u32>Unix timestamp (available for binlog entries).
space_id: Option<u32>Tablespace space ID.
page_no: Option<u32>Page number within the tablespace.
action: TimelineActionThe action/modification details.
Trait Implementations§
Source§impl Clone for TimelineEntry
impl Clone for TimelineEntry
Source§fn clone(&self) -> TimelineEntry
fn clone(&self) -> TimelineEntry
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 moreSource§impl Debug for TimelineEntry
impl Debug for TimelineEntry
Auto Trait Implementations§
impl Freeze for TimelineEntry
impl RefUnwindSafe for TimelineEntry
impl Send for TimelineEntry
impl Sync for TimelineEntry
impl Unpin for TimelineEntry
impl UnsafeUnpin for TimelineEntry
impl UnwindSafe for TimelineEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more