Struct kanidmd_lib::schema::Schema
source · [−]pub struct Schema { /* private fields */ }
Expand description
Schema stores the set of Classes
and Attributes
that the server will
use to validate Entries
, Filters
and Modifications
. Additionally the
schema stores an extracted copy of the current attribute indexing metadata that
is used by the backend during queries.
Implementations
sourceimpl Schema
impl Schema
pub fn new() -> Result<Self, OperationError>
pub fn read(&self) -> SchemaReadTransaction
pub fn write(&self) -> SchemaWriteTransaction<'_>
Auto Trait Implementations
impl RefUnwindSafe for Schema
impl Send for Schema
impl Sync for Schema
impl Unpin for Schema
impl UnwindSafe for Schema
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more