pub struct TableIdentityKey { /* private fields */ }Expand description
An opaque, dialect-aware identity key for a TableReference.
Two references whose keys are equal denote the same table under the
given dialect’s case-folding — e.g. users and USERS share a key in
PostgreSQL, but not in a case-sensitive dialect. Use it to deduplicate
references catalog-free, where the structural Eq / Hash on
TableReference (case-sensitive, quote-sensitive) would over-count
fold-equivalent spellings. (With a catalog, matched references are
already canonicalized, so structural dedup suffices.)
The key is identity, not wildcard matching: every present segment is
significant, so a bare users and a qualified public.users have
different keys (they are different identities). The folded text is not
observable — only equality / hashing.
Trait Implementations§
Source§impl Clone for TableIdentityKey
impl Clone for TableIdentityKey
Source§fn clone(&self) -> TableIdentityKey
fn clone(&self) -> TableIdentityKey
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more