pub struct LDAPSearchSettings {
pub base_distinguished_names: Option<Vec<String>>,
pub group_name_attribute: Option<String>,
pub groups_attribute: Option<String>,
pub ssh_key_attribute: Option<String>,
pub username_attribute: Option<String>,
}
Expand description
The settings to search a generic LDAP service.
Fields§
§base_distinguished_names: Option<Vec<String>>
The base distinguished names to use to search an external LDAP service.
group_name_attribute: Option<String>
The attribute name that contains the LDAP group name entry.
groups_attribute: Option<String>
The attribute name that contains the groups for a user on the LDAP user entry.
ssh_key_attribute: Option<String>
The attribute name that contains the LDAP user’s SSH public key entry.
username_attribute: Option<String>
The attribute name that contains the LDAP user name entry.
Trait Implementations§
Source§impl Clone for LDAPSearchSettings
impl Clone for LDAPSearchSettings
Source§fn clone(&self) -> LDAPSearchSettings
fn clone(&self) -> LDAPSearchSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LDAPSearchSettings
impl Debug for LDAPSearchSettings
Source§impl Default for LDAPSearchSettings
impl Default for LDAPSearchSettings
Source§impl<'de> Deserialize<'de> for LDAPSearchSettings
impl<'de> Deserialize<'de> for LDAPSearchSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Metadata<'static> for LDAPSearchSettings
impl Metadata<'static> for LDAPSearchSettings
Source§const JSON_SCHEMA: &'static str = "AccountService.v1_13_0.json"
const JSON_SCHEMA: &'static str = "AccountService.v1_13_0.json"
Name of the json-schema file that describes the entity that implements this trait. Should
be only the file name, so that it can be resolved relative to the URL of the redfish
service, or the public Redfish schema index.
Auto Trait Implementations§
impl Freeze for LDAPSearchSettings
impl RefUnwindSafe for LDAPSearchSettings
impl Send for LDAPSearchSettings
impl Sync for LDAPSearchSettings
impl Unpin for LDAPSearchSettings
impl UnwindSafe for LDAPSearchSettings
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