pub struct Config {Show 26 fields
pub sync_token: String,
pub schedule: Option<String>,
pub status_bind: Option<String>,
pub ldap_uri: Url,
pub ldap_ca: String,
pub ldap_sync_dn: String,
pub ldap_sync_pw: String,
pub ldap_sync_base_dn: String,
pub ldap_filter: LdapFilter,
pub sync_password_as_unix_password: Option<bool>,
pub person_objectclass: String,
pub person_attr_user_name: String,
pub person_attr_display_name: String,
pub person_attr_gidnumber: String,
pub person_attr_password: String,
pub person_password_prefix: Option<String>,
pub person_attr_login_shell: String,
pub person_attr_mail: String,
pub person_attr_ssh_public_key: String,
pub group_objectclass: String,
pub group_attr_name: String,
pub group_attr_description: String,
pub group_attr_gidnumber: String,
pub group_attr_member: String,
pub entry_map: BTreeMap<Uuid, EntryConfig>,
pub max_ber_size: Option<usize>,
}
Fields§
§sync_token: String
§schedule: Option<String>
§status_bind: Option<String>
§ldap_uri: Url
§ldap_ca: String
§ldap_sync_dn: String
§ldap_sync_pw: String
§ldap_sync_base_dn: String
§ldap_filter: LdapFilter
§sync_password_as_unix_password: Option<bool>
§person_objectclass: String
§person_attr_user_name: String
§person_attr_display_name: String
§person_attr_gidnumber: String
§person_attr_password: String
§person_password_prefix: Option<String>
§person_attr_login_shell: String
§person_attr_mail: String
§person_attr_ssh_public_key: String
§group_objectclass: String
§group_attr_name: String
§group_attr_description: String
§group_attr_gidnumber: String
§group_attr_member: String
§entry_map: BTreeMap<Uuid, EntryConfig>
§max_ber_size: Option<usize>
Maximum LDAP message size (in kilobytes)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
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
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§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>
Wrap the input message
T
in a tonic::Request