pub struct ShowSchema {
pub databases: BTreeMap<Namespace, DatabaseEntry>,
pub data: TheaterData,
}Expand description
The read-admission SHOW metadata: the store-level databases table plus
the graph’s committed theater maps, captured at one admission point.
Composes TheaterData the way [CheckpointTheater] does, so the five
maps exist once. Speculative catalog redo is applied by the query
engine that owns derivation; committed state changes only when that
engine applies redo.
Fields§
§databases: BTreeMap<Namespace, DatabaseEntry>§data: TheaterDataImplementations§
Source§impl ShowSchema
impl ShowSchema
Sourcepub fn capture(
databases: BTreeMap<Namespace, DatabaseEntry>,
theater: &TheaterData,
) -> Self
pub fn capture( databases: BTreeMap<Namespace, DatabaseEntry>, theater: &TheaterData, ) -> Self
Capture the committed SHOW metadata at one admission point: the store-level databases table plus this graph’s theater maps.
Trait Implementations§
Source§impl Clone for ShowSchema
impl Clone for ShowSchema
Auto Trait Implementations§
impl Forget for ShowSchema
impl Freeze for ShowSchemawhere
*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,
*const u8 is !null: 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 ShowSchema
impl RefUnwindSafe for ShowSchema
impl Send for ShowSchemawhere
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,
RawVecInner: Send,
BoxRaw<ValueTypeModel>: Send,
NodeRef<Owned, String, Constraint, LeafOrInternal>: Send,
BoxRaw<(String, Constraint)>: Send,
impl Sync for ShowSchemawhere
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,
RawVecInner: Sync,
BoxRaw<ValueTypeModel>: Sync,
NodeRef<Owned, String, Constraint, LeafOrInternal>: Sync,
BoxRaw<(String, Constraint)>: Sync,
impl Unpin for ShowSchemawhere
*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,
*const u8 is !null: Unpin,
Box<ValueTypeModel>: Unpin,
*const LeafNode<String, Constraint> is !null: Unpin,
Box<(String, Constraint)>: Unpin,
impl UnsafeUnpin for ShowSchemawhere
*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,
*const u8 is !null: 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 ShowSchemawhere
BTreeMap<Namespace, DatabaseEntry>: UnwindSafe,
BTreeMap<String, IndexDetailSpec>: UnwindSafe,
BTreeMap<String, BTreeMap<String, Value>>: UnwindSafe,
BTreeMap<String, GraphTypeSpec>: UnwindSafe,
RawVecInner: 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