pub struct CreateLdapTarget {Show 14 fields
pub bind_dn: String,
pub bind_dn_password: String,
pub comment: Option<String>,
pub description: Option<String>,
pub json: Option<bool>,
pub key: Option<String>,
pub ldap_ca_cert: Option<String>,
pub ldap_url: String,
pub max_versions: Option<String>,
pub name: String,
pub server_type: Option<String>,
pub token: Option<String>,
pub token_expiration: Option<String>,
pub uid_token: Option<String>,
}Expand description
CreateLdapTarget : createldapTarget is a command that creates a new target. [Deprecated: Use target-create-ldap command]
Fields§
§bind_dn: StringBind DN
bind_dn_password: StringBind DN Password
comment: Option<String>Deprecated - use description
description: Option<String>Description of the object
json: Option<bool>Set output format to JSON
key: Option<String>The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used)
ldap_ca_cert: Option<String>CA Certificate File Content
ldap_url: StringLDAP Server URL
max_versions: Option<String>Set the maximum number of versions, limited by the account settings defaults.
name: StringTarget name
server_type: Option<String>Set Ldap server type, Options:[OpenLDAP, ActiveDirectory]. Default is OpenLDAP
token: Option<String>Authentication token (see /auth and /configure)
token_expiration: Option<String>Token expiration
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Trait Implementations§
Source§impl Clone for CreateLdapTarget
impl Clone for CreateLdapTarget
Source§fn clone(&self) -> CreateLdapTarget
fn clone(&self) -> CreateLdapTarget
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 CreateLdapTarget
impl Debug for CreateLdapTarget
Source§impl Default for CreateLdapTarget
impl Default for CreateLdapTarget
Source§fn default() -> CreateLdapTarget
fn default() -> CreateLdapTarget
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateLdapTarget
impl<'de> Deserialize<'de> for CreateLdapTarget
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 CreateLdapTarget
impl PartialEq for CreateLdapTarget
Source§fn eq(&self, other: &CreateLdapTarget) -> bool
fn eq(&self, other: &CreateLdapTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CreateLdapTarget
impl Serialize for CreateLdapTarget
impl StructuralPartialEq for CreateLdapTarget
Auto Trait Implementations§
impl Freeze for CreateLdapTarget
impl RefUnwindSafe for CreateLdapTarget
impl Send for CreateLdapTarget
impl Sync for CreateLdapTarget
impl Unpin for CreateLdapTarget
impl UnsafeUnpin for CreateLdapTarget
impl UnwindSafe for CreateLdapTarget
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