pub struct GatewayUpdateLdapAuthConfig {Show 15 fields
pub access_id: Option<String>,
pub bind_dn: Option<String>,
pub bind_dn_password: Option<String>,
pub group_attr: Option<String>,
pub group_dn: Option<String>,
pub group_filter: Option<String>,
pub json: Option<bool>,
pub ldap_ca_cert: Option<String>,
pub ldap_enable: Option<String>,
pub ldap_url: Option<String>,
pub signing_key_data: Option<String>,
pub token: Option<String>,
pub uid_token: Option<String>,
pub user_attribute: Option<String>,
pub user_dn: Option<String>,
}Expand description
GatewayUpdateLdapAuthConfig : gatewayUpdateLdapAuth is a command that updates ldap auth config
Fields§
§access_id: Option<String>The access ID of the Ldap auth method
bind_dn: Option<String>Bind DN
bind_dn_password: Option<String>Bind DN Password
group_attr: Option<String>Group Attr
group_dn: Option<String>Group Dn
group_filter: Option<String>Group Filter
json: Option<bool>Set output format to JSON
ldap_ca_cert: Option<String>LDAP CA Certificate (base64 encoded)
ldap_enable: Option<String>Enable Ldap [true/false]
ldap_url: Option<String>LDAP Server URL, e.g. ldap://planetexpress.com:389
signing_key_data: Option<String>The private key (base64 encoded), associated with the public key defined in the Ldap auth
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
user_attribute: Option<String>User Attribute
user_dn: Option<String>User DN
Implementations§
Source§impl GatewayUpdateLdapAuthConfig
impl GatewayUpdateLdapAuthConfig
Sourcepub fn new() -> GatewayUpdateLdapAuthConfig
pub fn new() -> GatewayUpdateLdapAuthConfig
gatewayUpdateLdapAuth is a command that updates ldap auth config
Trait Implementations§
Source§impl Clone for GatewayUpdateLdapAuthConfig
impl Clone for GatewayUpdateLdapAuthConfig
Source§fn clone(&self) -> GatewayUpdateLdapAuthConfig
fn clone(&self) -> GatewayUpdateLdapAuthConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GatewayUpdateLdapAuthConfig
impl Debug for GatewayUpdateLdapAuthConfig
Source§impl Default for GatewayUpdateLdapAuthConfig
impl Default for GatewayUpdateLdapAuthConfig
Source§fn default() -> GatewayUpdateLdapAuthConfig
fn default() -> GatewayUpdateLdapAuthConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GatewayUpdateLdapAuthConfig
impl<'de> Deserialize<'de> for GatewayUpdateLdapAuthConfig
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 PartialEq for GatewayUpdateLdapAuthConfig
impl PartialEq for GatewayUpdateLdapAuthConfig
Source§fn eq(&self, other: &GatewayUpdateLdapAuthConfig) -> bool
fn eq(&self, other: &GatewayUpdateLdapAuthConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GatewayUpdateLdapAuthConfig
Auto Trait Implementations§
impl Freeze for GatewayUpdateLdapAuthConfig
impl RefUnwindSafe for GatewayUpdateLdapAuthConfig
impl Send for GatewayUpdateLdapAuthConfig
impl Sync for GatewayUpdateLdapAuthConfig
impl Unpin for GatewayUpdateLdapAuthConfig
impl UnsafeUnpin for GatewayUpdateLdapAuthConfig
impl UnwindSafe for GatewayUpdateLdapAuthConfig
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