pub struct Schema {
pub classes: &'static [ClassDef],
pub profiles: &'static [(&'static str, &'static str)],
pub namespaces: &'static [(&'static str, &'static str)],
}Expand description
What one family’s schema says, as a table: its classes, the profiles it
defines and the namespaces its vocabularies bind. Generated by cimgen, or
read from RDFS at runtime (schema_source).
Fields§
§classes: &'static [ClassDef]§profiles: &'static [(&'static str, &'static str)]Profile code → profile URI, the value a dataset’s header declares; sorted by code.
namespaces: &'static [(&'static str, &'static str)]XML prefix → namespace IRI; sorted by prefix.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Schema
impl RefUnwindSafe for Schema
impl Send for Schema
impl Sync for Schema
impl Unpin for Schema
impl UnsafeUnpin for Schema
impl UnwindSafe for Schema
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