pub struct SnapshotTableProgress {
pub name: String,
pub last_pk: Option<Value>,
pub done: bool,
}Expand description
Progress for a single table within an interleaved snapshot.
Fields§
§name: StringTable name.
last_pk: Option<Value>Last primary key copied for this table, serialized as JSON.
None means no chunk has been copied yet; resume starts from the
beginning of the table.
done: boolWhether the table has been fully copied.
Trait Implementations§
Source§impl Clone for SnapshotTableProgress
impl Clone for SnapshotTableProgress
Source§fn clone(&self) -> SnapshotTableProgress
fn clone(&self) -> SnapshotTableProgress
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 SnapshotTableProgress
impl Debug for SnapshotTableProgress
Source§impl<'de> Deserialize<'de> for SnapshotTableProgress
impl<'de> Deserialize<'de> for SnapshotTableProgress
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SnapshotTableProgress
impl PartialEq for SnapshotTableProgress
Source§impl Serialize for SnapshotTableProgress
impl Serialize for SnapshotTableProgress
impl StructuralPartialEq for SnapshotTableProgress
Auto Trait Implementations§
impl Freeze for SnapshotTableProgress
impl RefUnwindSafe for SnapshotTableProgress
impl Send for SnapshotTableProgress
impl Sync for SnapshotTableProgress
impl Unpin for SnapshotTableProgress
impl UnsafeUnpin for SnapshotTableProgress
impl UnwindSafe for SnapshotTableProgress
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