pub struct LDAPSchema {
    pub ldap_syntaxes: Vec<LDAPSyntax>,
    pub matching_rules: Vec<MatchingRule>,
    pub matching_rule_use: Vec<MatchingRuleUse>,
    pub attribute_types: Vec<AttributeType>,
    pub object_classes: Vec<ObjectClass>,
}
Expand description

an entire LDAP schema for an LDAP server

Fields

ldap_syntaxes: Vec<LDAPSyntax>

the supported LDAP syntaxes

matching_rules: Vec<MatchingRule>

the supported LDAP matching rules

matching_rule_use: Vec<MatchingRuleUse>

the allowed uses (attributes) for the LDAP matching rules

attribute_types: Vec<AttributeType>

the supported LDAP attribute types

object_classes: Vec<ObjectClass>

the supported LDAP object classes

Implementations

returns the set of allowed attributes (either must or may) for an ObjectClass and all of its super-classes

returns the set of required attributes (must) for an ObjectClass and all of its super-classes

return the object class if it is present in the schema

apply the given function to the named object class and all its ancestors in the LDAP schema until one returns Some

return the attribute type if it is present in the schema

apply the given function to the named attribute type and all its ancestors in the LDAP schema until one returns Some

return the ldap syntax if it is present in the schema

return the matching rule if it is present in the schema

return the matching rule use if it is present in the schema

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
The number of items that this chain link consists of.
Append the elements in this link to the chain.
An iterator over the items within this container, by value.
Iterate over the elements of the container (using internal iteration because GATs are unstable).

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more