diff --git a/kanidmd/src/lib/schema.rs b/kanidmd/src/lib/schema.rs index c705e5501..755545d48 100644 --- a/kanidmd/src/lib/schema.rs +++ b/kanidmd/src/lib/schema.rs @@ -23,7 +23,6 @@ use crate::value::{IndexType, PartialValue, SyntaxType, Value}; use kanidm_proto::v1::{ConsistencyError, OperationError, SchemaError}; use std::borrow::Borrow; -use std::collections::HashMap; use std::collections::{BTreeMap, BTreeSet}; use uuid::Uuid; @@ -448,14 +447,6 @@ impl SchemaClass { } } -#[derive(Debug, Clone)] -pub struct SchemaInner { - // We contain sets of classes and attributes. - classes: HashMap, - attributes: HashMap, - idxmeta: BTreeSet<(String, IndexType)>, -} - pub trait SchemaTransaction { fn get_classes(&self) -> BptreeMapReadSnapshot; fn get_attributes(&self) -> BptreeMapReadSnapshot; @@ -552,8 +543,6 @@ pub trait SchemaTransaction { } } -impl SchemaInner {} - impl<'a> SchemaWriteTransaction<'a> { // Schema probably needs to be part of the backend, so that commits are wholly atomic // but in the current design, we need to open be first, then schema, but we have to commit be