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 SchemaSnapshotwhere
*const u8 is !null: Freeze,
PhantomData<IndexDef>: Freeze,
PhantomData<ConstraintDef>: Freeze,
*const LeafNode<Namespace, DatabaseEntry> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(Namespace, DatabaseEntry)>>: Freeze,
*const LeafNode<String, IndexDetailSpec> is !null: Freeze,
PhantomData<Box<(String, IndexDetailSpec)>>: Freeze,
*const LeafNode<String, BTreeMap<String, Value>> is !null: Freeze,
PhantomData<Box<(String, BTreeMap<String, Value>)>>: Freeze,
*const LeafNode<String, GraphTypeSpec> is !null: Freeze,
PhantomData<Box<(String, GraphTypeSpec)>>: Freeze,
PhantomData<NodeTypeModel>: Freeze,
PhantomData<EdgeTypeModel>: Freeze,
PhantomData<GraphTypeConstraintModel>: Freeze,
PhantomData<String>: Freeze,
*const LeafNode<String, Constraint> is !null: Freeze,
PhantomData<Box<(String, Constraint)>>: Freeze,
impl Move for SchemaSnapshot
impl RefUnwindSafe for SchemaSnapshot
impl Send for SchemaSnapshotwhere
RawVecInner: Send,
NodeRef<Owned, Namespace, DatabaseEntry, LeafOrInternal>: Send,
BoxRaw<(Namespace, DatabaseEntry)>: Send,
NodeRef<Owned, String, IndexDetailSpec, LeafOrInternal>: Send,
BoxRaw<(String, IndexDetailSpec)>: Send,
NodeRef<Owned, String, BTreeMap<String, Value>, LeafOrInternal>: Send,
BoxRaw<(String, BTreeMap<String, Value>)>: Send,
NodeRef<Owned, String, GraphTypeSpec, LeafOrInternal>: Send,
BoxRaw<(String, GraphTypeSpec)>: Send,
BoxRaw<ValueTypeModel>: Send,
NodeRef<Owned, String, Constraint, LeafOrInternal>: Send,
BoxRaw<(String, Constraint)>: Send,
impl Sync for SchemaSnapshotwhere
RawVecInner: Sync,
NodeRef<Owned, Namespace, DatabaseEntry, LeafOrInternal>: Sync,
BoxRaw<(Namespace, DatabaseEntry)>: Sync,
NodeRef<Owned, String, IndexDetailSpec, LeafOrInternal>: Sync,
BoxRaw<(String, IndexDetailSpec)>: Sync,
NodeRef<Owned, String, BTreeMap<String, Value>, LeafOrInternal>: Sync,
BoxRaw<(String, BTreeMap<String, Value>)>: Sync,
NodeRef<Owned, String, GraphTypeSpec, LeafOrInternal>: Sync,
BoxRaw<(String, GraphTypeSpec)>: Sync,
BoxRaw<ValueTypeModel>: Sync,
NodeRef<Owned, String, Constraint, LeafOrInternal>: Sync,
BoxRaw<(String, Constraint)>: Sync,
impl Unpin for SchemaSnapshotwhere
*const u8 is !null: Unpin,
*const LeafNode<Namespace, DatabaseEntry> is !null: Unpin,
Box<(Namespace, DatabaseEntry)>: Unpin,
*const LeafNode<String, IndexDetailSpec> is !null: Unpin,
Box<(String, IndexDetailSpec)>: Unpin,
*const LeafNode<String, BTreeMap<String, Value>> is !null: Unpin,
Box<(String, BTreeMap<String, Value>)>: Unpin,
*const LeafNode<String, GraphTypeSpec> is !null: Unpin,
Box<(String, GraphTypeSpec)>: Unpin,
Box<ValueTypeModel>: Unpin,
*const LeafNode<String, Constraint> is !null: Unpin,
Box<(String, Constraint)>: Unpin,
impl UnsafeUnpin for SchemaSnapshotwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<IndexDef>: UnsafeUnpin,
PhantomData<ConstraintDef>: UnsafeUnpin,
*const LeafNode<Namespace, DatabaseEntry> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(Namespace, DatabaseEntry)>>: UnsafeUnpin,
*const LeafNode<String, IndexDetailSpec> is !null: UnsafeUnpin,
PhantomData<Box<(String, IndexDetailSpec)>>: UnsafeUnpin,
*const LeafNode<String, BTreeMap<String, Value>> is !null: UnsafeUnpin,
PhantomData<Box<(String, BTreeMap<String, Value>)>>: UnsafeUnpin,
*const LeafNode<String, GraphTypeSpec> is !null: UnsafeUnpin,
PhantomData<Box<(String, GraphTypeSpec)>>: UnsafeUnpin,
PhantomData<NodeTypeModel>: UnsafeUnpin,
PhantomData<EdgeTypeModel>: UnsafeUnpin,
PhantomData<GraphTypeConstraintModel>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<String, Constraint> is !null: UnsafeUnpin,
PhantomData<Box<(String, Constraint)>>: UnsafeUnpin,
impl UnwindSafe for SchemaSnapshotwhere
RawVecInner: UnwindSafe,
BTreeMap<Namespace, DatabaseEntry>: UnwindSafe,
BTreeMap<String, IndexDetailSpec>: UnwindSafe,
BTreeMap<String, BTreeMap<String, Value>>: UnwindSafe,
BTreeMap<String, GraphTypeSpec>: UnwindSafe,
BoxRaw<ValueTypeModel>: UnwindSafe,
BTreeMap<String, Constraint>: UnwindSafe,
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