pub struct SchemaMap { /* private fields */ }Expand description
lDAPDisplayName ⇄ schemaIDGUID, case-insensitive by name.
Implementations§
Source§impl SchemaMap
impl SchemaMap
pub fn new() -> SchemaMap
Sourcepub fn from_entries<I, S>(entries: I) -> SchemaMap
pub fn from_entries<I, S>(entries: I) -> SchemaMap
Build from (lDAPDisplayName, schemaIDGUID) pairs as read from the schema NC.
pub fn insert(&mut self, name: &str, guid: Guid)
pub fn is_empty(&self) -> bool
Sourcepub fn is_laps_attr(&self, g: &Guid) -> bool
pub fn is_laps_attr(&self, g: &Guid) -> bool
True if g is any of the LAPS password attributes present in this forest.
Sourcepub fn is_managed_password_attr(&self, g: &Guid) -> bool
pub fn is_managed_password_attr(&self, g: &Guid) -> bool
True if g is the gMSA managed-password blob attribute.
Sourcepub fn is_dmsa_class(&self, g: &Guid) -> bool
pub fn is_dmsa_class(&self, g: &Guid) -> bool
True if g is the delegated-MSA class (BadSuccessor).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SchemaMap
impl RefUnwindSafe for SchemaMap
impl Send for SchemaMap
impl Sync for SchemaMap
impl Unpin for SchemaMap
impl UnsafeUnpin for SchemaMap
impl UnwindSafe for SchemaMap
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