pub struct RestoreReport {
pub source_db: String,
pub target_db: String,
pub basis_t: u64,
pub copied_blobs: usize,
pub reused_blobs: usize,
}Expand description
Counters and identity returned by a restore.
Fields§
§source_db: StringSource database name recorded in the backup.
target_db: StringRestored database name (which may differ for clone restores).
basis_t: u64Restored transaction basis.
copied_blobs: usizeImmutable blobs newly copied into the target store.
reused_blobs: usizeImmutable blobs already shared by the target store.
Trait Implementations§
Source§impl Clone for RestoreReport
impl Clone for RestoreReport
Source§fn clone(&self) -> RestoreReport
fn clone(&self) -> RestoreReport
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 RestoreReport
impl Debug for RestoreReport
impl Eq for RestoreReport
Source§impl PartialEq for RestoreReport
impl PartialEq for RestoreReport
impl StructuralPartialEq for RestoreReport
Auto Trait Implementations§
impl Freeze for RestoreReport
impl RefUnwindSafe for RestoreReport
impl Send for RestoreReport
impl Sync for RestoreReport
impl Unpin for RestoreReport
impl UnsafeUnpin for RestoreReport
impl UnwindSafe for RestoreReport
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request