Skip to main content

SchemaSnapshot

Struct SchemaSnapshot 

Source
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: ShowSchema

Auto Trait Implementations§

§

impl Forget for SchemaSnapshot

§

impl Freeze for SchemaSnapshot

§

impl Move for SchemaSnapshot

§

impl RefUnwindSafe for SchemaSnapshot

§

impl Send for SchemaSnapshot
where 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 SchemaSnapshot
where 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 SchemaSnapshot
where *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 SchemaSnapshot

§

impl UnwindSafe for SchemaSnapshot

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.