pub struct SeededUuidKey {
pub seed: SeedRoot,
pub table: String,
pub column: String,
}Expand description
A per-row-reseeded random-access UUID key (RFC 4122 v4). Row n’s key
derives from the parent table’s seed and a primary_key.row.<n> stream, so
any parent row’s UUID is reproducible by index without storing every key.
Fields§
§seed: SeedRootThe parent table’s resolved seed root.
table: StringThe parent table name (stream identity).
column: StringThe parent key column name (stream identity).
Trait Implementations§
Source§impl RandomAccessKeyGenerator for SeededUuidKey
impl RandomAccessKeyGenerator for SeededUuidKey
Source§fn key_at(&self, row_index: u64) -> GeneratedValue
fn key_at(&self, row_index: u64) -> GeneratedValue
The key value at parent row
row_index.Auto Trait Implementations§
impl Freeze for SeededUuidKey
impl RefUnwindSafe for SeededUuidKey
impl Send for SeededUuidKey
impl Sync for SeededUuidKey
impl Unpin for SeededUuidKey
impl UnsafeUnpin for SeededUuidKey
impl UnwindSafe for SeededUuidKey
Blanket Implementations§
impl<T> Allocation for T
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> 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