pub struct ConfigLdap {Show 31 fields
pub enable: Option<bool>,
pub enable_sync: Option<bool>,
pub ldap_server: Option<String>,
pub ldap_port: Option<i32>,
pub connection_security: Option<String>,
pub base_dn: Option<String>,
pub bind_username: Option<String>,
pub bind_password: Option<String>,
pub maximum_login_attempts: Option<i32>,
pub user_filter: Option<String>,
pub group_filter: Option<String>,
pub enable_admin_filter: Option<bool>,
pub admin_filter: Option<String>,
pub group_display_name_attribute: Option<String>,
pub group_id_attribute: Option<String>,
pub first_name_attribute: Option<String>,
pub last_name_attribute: Option<String>,
pub email_attribute: Option<String>,
pub username_attribute: Option<String>,
pub nickname_attribute: Option<String>,
pub id_attribute: Option<String>,
pub position_attribute: Option<String>,
pub login_id_attribute: Option<String>,
pub picture_attribute: Option<String>,
pub sync_interval_minutes: Option<i32>,
pub query_timeout: Option<i32>,
pub max_page_size: Option<i32>,
pub login_field_name: Option<String>,
pub login_button_color: Option<String>,
pub login_button_border_color: Option<String>,
pub login_button_text_color: Option<String>,
}Fields§
§enable: Option<bool>Basic
enable_sync: Option<bool>§ldap_server: Option<String>§ldap_port: Option<i32>§connection_security: Option<String>§base_dn: Option<String>§bind_username: Option<String>§bind_password: Option<String>§maximum_login_attempts: Option<i32>§user_filter: Option<String>Filtering
group_filter: Option<String>§enable_admin_filter: Option<bool>§admin_filter: Option<String>§group_display_name_attribute: Option<String>Group Mapping
group_id_attribute: Option<String>§first_name_attribute: Option<String>User Mapping
last_name_attribute: Option<String>§email_attribute: Option<String>§username_attribute: Option<String>§nickname_attribute: Option<String>§id_attribute: Option<String>§position_attribute: Option<String>§login_id_attribute: Option<String>§picture_attribute: Option<String>§sync_interval_minutes: Option<i32>Synchronization
query_timeout: Option<i32>Advanced
max_page_size: Option<i32>§login_field_name: Option<String>Customization
Implementations§
Source§impl ConfigLdap
impl ConfigLdap
Sourcepub fn enable(&self) -> bool
pub fn enable(&self) -> bool
Returns the value of enable, or the default value if enable is unset.
Sourcepub fn enable_sync(&self) -> bool
pub fn enable_sync(&self) -> bool
Returns the value of enable_sync, or the default value if enable_sync is unset.
Sourcepub fn ldap_server(&self) -> &str
pub fn ldap_server(&self) -> &str
Returns the value of ldap_server, or the default value if ldap_server is unset.
Sourcepub fn ldap_port(&self) -> i32
pub fn ldap_port(&self) -> i32
Returns the value of ldap_port, or the default value if ldap_port is unset.
Sourcepub fn connection_security(&self) -> &str
pub fn connection_security(&self) -> &str
Returns the value of connection_security, or the default value if connection_security is unset.
Sourcepub fn base_dn(&self) -> &str
pub fn base_dn(&self) -> &str
Returns the value of base_dn, or the default value if base_dn is unset.
Sourcepub fn bind_username(&self) -> &str
pub fn bind_username(&self) -> &str
Returns the value of bind_username, or the default value if bind_username is unset.
Sourcepub fn bind_password(&self) -> &str
pub fn bind_password(&self) -> &str
Returns the value of bind_password, or the default value if bind_password is unset.
Sourcepub fn maximum_login_attempts(&self) -> i32
pub fn maximum_login_attempts(&self) -> i32
Returns the value of maximum_login_attempts, or the default value if maximum_login_attempts is unset.
Sourcepub fn user_filter(&self) -> &str
pub fn user_filter(&self) -> &str
Returns the value of user_filter, or the default value if user_filter is unset.
Sourcepub fn group_filter(&self) -> &str
pub fn group_filter(&self) -> &str
Returns the value of group_filter, or the default value if group_filter is unset.
Sourcepub fn enable_admin_filter(&self) -> bool
pub fn enable_admin_filter(&self) -> bool
Returns the value of enable_admin_filter, or the default value if enable_admin_filter is unset.
Sourcepub fn admin_filter(&self) -> &str
pub fn admin_filter(&self) -> &str
Returns the value of admin_filter, or the default value if admin_filter is unset.
Sourcepub fn group_display_name_attribute(&self) -> &str
pub fn group_display_name_attribute(&self) -> &str
Returns the value of group_display_name_attribute, or the default value if group_display_name_attribute is unset.
Sourcepub fn group_id_attribute(&self) -> &str
pub fn group_id_attribute(&self) -> &str
Returns the value of group_id_attribute, or the default value if group_id_attribute is unset.
Sourcepub fn first_name_attribute(&self) -> &str
pub fn first_name_attribute(&self) -> &str
Returns the value of first_name_attribute, or the default value if first_name_attribute is unset.
Sourcepub fn last_name_attribute(&self) -> &str
pub fn last_name_attribute(&self) -> &str
Returns the value of last_name_attribute, or the default value if last_name_attribute is unset.
Sourcepub fn email_attribute(&self) -> &str
pub fn email_attribute(&self) -> &str
Returns the value of email_attribute, or the default value if email_attribute is unset.
Sourcepub fn username_attribute(&self) -> &str
pub fn username_attribute(&self) -> &str
Returns the value of username_attribute, or the default value if username_attribute is unset.
Sourcepub fn nickname_attribute(&self) -> &str
pub fn nickname_attribute(&self) -> &str
Returns the value of nickname_attribute, or the default value if nickname_attribute is unset.
Sourcepub fn id_attribute(&self) -> &str
pub fn id_attribute(&self) -> &str
Returns the value of id_attribute, or the default value if id_attribute is unset.
Sourcepub fn position_attribute(&self) -> &str
pub fn position_attribute(&self) -> &str
Returns the value of position_attribute, or the default value if position_attribute is unset.
Sourcepub fn login_id_attribute(&self) -> &str
pub fn login_id_attribute(&self) -> &str
Returns the value of login_id_attribute, or the default value if login_id_attribute is unset.
Sourcepub fn picture_attribute(&self) -> &str
pub fn picture_attribute(&self) -> &str
Returns the value of picture_attribute, or the default value if picture_attribute is unset.
Sourcepub fn sync_interval_minutes(&self) -> i32
pub fn sync_interval_minutes(&self) -> i32
Returns the value of sync_interval_minutes, or the default value if sync_interval_minutes is unset.
Sourcepub fn query_timeout(&self) -> i32
pub fn query_timeout(&self) -> i32
Returns the value of query_timeout, or the default value if query_timeout is unset.
Sourcepub fn max_page_size(&self) -> i32
pub fn max_page_size(&self) -> i32
Returns the value of max_page_size, or the default value if max_page_size is unset.
Sourcepub fn login_field_name(&self) -> &str
pub fn login_field_name(&self) -> &str
Returns the value of login_field_name, or the default value if login_field_name is unset.
Returns the value of login_button_color, or the default value if login_button_color is unset.
Returns the value of login_button_border_color, or the default value if login_button_border_color is unset.
Returns the value of login_button_text_color, or the default value if login_button_text_color is unset.
Trait Implementations§
Source§impl Clone for ConfigLdap
impl Clone for ConfigLdap
Source§fn clone(&self) -> ConfigLdap
fn clone(&self) -> ConfigLdap
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ConfigLdap
impl Debug for ConfigLdap
Source§impl Default for ConfigLdap
impl Default for ConfigLdap
Source§impl<'de> Deserialize<'de> for ConfigLdap
impl<'de> Deserialize<'de> for ConfigLdap
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>,
Source§impl Message for ConfigLdap
impl Message for ConfigLdap
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for ConfigLdap
impl PartialEq for ConfigLdap
Source§impl Serialize for ConfigLdap
impl Serialize for ConfigLdap
impl StructuralPartialEq for ConfigLdap
Auto Trait Implementations§
impl Freeze for ConfigLdap
impl RefUnwindSafe for ConfigLdap
impl Send for ConfigLdap
impl Sync for ConfigLdap
impl Unpin for ConfigLdap
impl UnwindSafe for ConfigLdap
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request