pub struct ModelParadigm {
pub name: &'static str,
pub summary: &'static str,
pub categories: &'static [TypeCategory],
}Expand description
One paradigm in RedDB’s multi-model surface. The narrative (summary) is
hand-authored judgment; categories points into the generated value-type
catalog so the map is layered over — not duplicated from — the type system.
Fields§
§name: &'static strDisplay name of the paradigm (e.g. “Documents”, “Graph nodes & edges”).
summary: &'static strOne-sentence description of what the paradigm stores and how it is shaped.
categories: &'static [TypeCategory]The TypeCategory families this paradigm predominantly holds, linking
the map back into the per-model type catalog above it.
Auto Trait Implementations§
impl Freeze for ModelParadigm
impl RefUnwindSafe for ModelParadigm
impl Send for ModelParadigm
impl Sync for ModelParadigm
impl Unpin for ModelParadigm
impl UnsafeUnpin for ModelParadigm
impl UnwindSafe for ModelParadigm
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