pub struct CompiledStore {
pub key: &'static str,
pub schema: fn() -> Schema,
}Expand description
Validated schema and its stable allocation key.
Fields§
§key: &'static strKey used to create and reopen the allocation.
schema: fn() -> SchemaObtain the admitted schema for this allocation.
Auto Trait Implementations§
impl Forget for CompiledStore
impl Freeze for CompiledStore
impl Move for CompiledStore
impl RefUnwindSafe for CompiledStore
impl Send for CompiledStore
impl Sync for CompiledStore
impl Unpin for CompiledStore
impl UnsafeUnpin for CompiledStore
impl UnwindSafe for CompiledStore
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