pub struct SchemaTableId { /* private fields */ }Expand description
Runtime-stable identity of a table inside one engine schema generation.
The identity is intentionally not persisted. Any DDL changes the schema generation and invalidates previously bound identities; reopen builds a new engine scope and callers bind again from the durable schema catalog.
Implementations§
Source§impl SchemaTableId
impl SchemaTableId
pub fn scope_id(&self) -> u64
pub fn schema_generation(&self) -> u64
pub fn table_name(&self) -> &str
Trait Implementations§
Source§impl Clone for SchemaTableId
impl Clone for SchemaTableId
Source§fn clone(&self) -> SchemaTableId
fn clone(&self) -> SchemaTableId
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 SchemaTableId
impl Debug for SchemaTableId
impl Eq for SchemaTableId
Source§impl Hash for SchemaTableId
impl Hash for SchemaTableId
Source§impl PartialEq for SchemaTableId
impl PartialEq for SchemaTableId
impl StructuralPartialEq for SchemaTableId
Auto Trait Implementations§
impl Freeze for SchemaTableId
impl RefUnwindSafe for SchemaTableId
impl Send for SchemaTableId
impl Sync for SchemaTableId
impl Unpin for SchemaTableId
impl UnsafeUnpin for SchemaTableId
impl UnwindSafe for SchemaTableId
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