pub struct SchemaSnapshot {
pub indexes: Vec<IndexDef>,
pub constraints: Vec<ConstraintDef>,
pub show: ShowSchema,
}Expand description
Catalog facts captured alongside an entity pin at read admission. The caller serializes capture with commit publication; execution needs no publication lock and never consults newer named schema.
Fields§
§indexes: Vec<IndexDef>§constraints: Vec<ConstraintDef>§show: ShowSchemaAuto Trait Implementations§
impl Forget for SchemaSnapshot
impl Freeze for SchemaSnapshot
impl Move for SchemaSnapshot
impl RefUnwindSafe for SchemaSnapshot
impl Send for SchemaSnapshot
impl Sync for SchemaSnapshot
impl Unpin for SchemaSnapshot
impl UnsafeUnpin for SchemaSnapshot
impl UnwindSafe for SchemaSnapshot
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