pub struct ImportTablePlan {
pub table_id: u64,
pub name: String,
pub schema: Schema,
pub row_count: u64,
pub rows_sha256: [u8; 32],
}Expand description
One table’s slice of an ImportPlan: the complete schema (columns,
index definitions, constraints — everything the replicated tablet must
recreate) plus the deterministic row-stream validation totals.
Fields§
§table_id: u64Catalog table id in the source.
name: StringCatalog name.
schema: SchemaFull source schema (columns, indexes, constraints).
row_count: u64Rows visible at the plan’s snapshot epoch.
rows_sha256: [u8; 32]SHA-256 over the table’s canonical row stream (see
hash_rows_canonical).
Trait Implementations§
Source§impl Clone for ImportTablePlan
impl Clone for ImportTablePlan
Source§fn clone(&self) -> ImportTablePlan
fn clone(&self) -> ImportTablePlan
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 moreAuto Trait Implementations§
impl Freeze for ImportTablePlan
impl RefUnwindSafe for ImportTablePlan
impl Send for ImportTablePlan
impl Sync for ImportTablePlan
impl Unpin for ImportTablePlan
impl UnsafeUnpin for ImportTablePlan
impl UnwindSafe for ImportTablePlan
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