pub struct BackupCheckpoint {
pub path: PathBuf,
pub backup_type: String,
pub from_lsn: u64,
pub to_lsn: u64,
pub last_lsn: Option<u64>,
pub compact: bool,
}Expand description
Parsed XtraBackup checkpoint metadata.
Fields§
§path: PathBufPath to the backup directory.
backup_type: StringBackup type string (e.g., “full-backuped”, “incremental”).
from_lsn: u64Start LSN of the backup (0 for full backups).
to_lsn: u64End LSN of the backup.
last_lsn: Option<u64>Last LSN seen during the backup process.
compact: boolWhether the backup was compacted.
Trait Implementations§
Source§impl Clone for BackupCheckpoint
impl Clone for BackupCheckpoint
Source§fn clone(&self) -> BackupCheckpoint
fn clone(&self) -> BackupCheckpoint
Returns a duplicate of the value. Read more
1.0.0 · 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 BackupCheckpoint
impl Debug for BackupCheckpoint
Auto Trait Implementations§
impl Freeze for BackupCheckpoint
impl RefUnwindSafe for BackupCheckpoint
impl Send for BackupCheckpoint
impl Sync for BackupCheckpoint
impl Unpin for BackupCheckpoint
impl UnsafeUnpin for BackupCheckpoint
impl UnwindSafe for BackupCheckpoint
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