pub struct EnterpriseCA { /* private fields */ }Expand description
EnterpriseCA structure
Implementations§
Source§impl EnterpriseCA
impl EnterpriseCA
pub fn new() -> Self
pub fn enabled_cert_templates(&self) -> &Vec<Member>
pub fn enabled_cert_templates_mut(&mut self) -> &mut Vec<Member>
Sourcepub fn parse(
&mut self,
result: SearchEntry,
domain: &str,
dn_sid: &mut HashMap<String, String>,
sid_type: &mut HashMap<String, String>,
domain_sid: &str,
schema_guid_map: &HashMap<String, String>,
) -> Result<(), Box<dyn Error>>
pub fn parse( &mut self, result: SearchEntry, domain: &str, dn_sid: &mut HashMap<String, String>, sid_type: &mut HashMap<String, String>, domain_sid: &str, schema_guid_map: &HashMap<String, String>, ) -> Result<(), Box<dyn Error>>
Function to parse and replace value in json template for Enterprise CA object.
Trait Implementations§
Source§impl Clone for EnterpriseCA
impl Clone for EnterpriseCA
Source§fn clone(&self) -> EnterpriseCA
fn clone(&self) -> EnterpriseCA
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 EnterpriseCA
impl Debug for EnterpriseCA
Source§impl Default for EnterpriseCA
impl Default for EnterpriseCA
Source§fn default() -> EnterpriseCA
fn default() -> EnterpriseCA
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EnterpriseCA
impl<'de> Deserialize<'de> for EnterpriseCA
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 LdapObject for EnterpriseCA
impl LdapObject for EnterpriseCA
fn to_json(&self) -> Value
fn get_object_identifier(&self) -> &String
fn get_is_acl_protected(&self) -> &bool
fn get_aces(&self) -> &Vec<AceTemplate>
fn get_spntargets(&self) -> &Vec<SPNTarget>
fn get_allowed_to_delegate(&self) -> &Vec<Member>
fn get_links(&self) -> &Vec<Link>
fn get_contained_by(&self) -> &Option<Member>
fn get_child_objects(&self) -> &Vec<Member>
fn get_haslaps(&self) -> &bool
fn get_aces_mut(&mut self) -> &mut Vec<AceTemplate>
fn get_spntargets_mut(&mut self) -> &mut Vec<SPNTarget>
fn get_allowed_to_delegate_mut(&mut self) -> &mut Vec<Member>
fn set_is_acl_protected(&mut self, is_acl_protected: bool)
fn set_aces(&mut self, aces: Vec<AceTemplate>)
fn set_spntargets(&mut self, _spn_targets: Vec<SPNTarget>)
fn set_allowed_to_delegate(&mut self, _allowed_to_delegate: Vec<Member>)
fn set_links(&mut self, _links: Vec<Link>)
fn set_contained_by(&mut self, contained_by: Option<Member>)
fn set_child_objects(&mut self, _child_objects: Vec<Member>)
Auto Trait Implementations§
impl Freeze for EnterpriseCA
impl RefUnwindSafe for EnterpriseCA
impl Send for EnterpriseCA
impl Sync for EnterpriseCA
impl Unpin for EnterpriseCA
impl UnsafeUnpin for EnterpriseCA
impl UnwindSafe for EnterpriseCA
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§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