pub struct NtAuthStore { /* private fields */ }Expand description
NtAuthStore structure
Implementations§
Source§impl NtAuthStore
impl NtAuthStore
pub fn new() -> Self
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 NT Auth Store object.
Trait Implementations§
Source§impl Clone for NtAuthStore
impl Clone for NtAuthStore
Source§impl Debug for NtAuthStore
impl Debug for NtAuthStore
Source§impl Default for NtAuthStore
impl Default for NtAuthStore
Source§impl<'de> Deserialize<'de> for NtAuthStore
impl<'de> Deserialize<'de> for NtAuthStore
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 NtAuthStore
impl LdapObject for NtAuthStore
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>)
fn set_owner_rights_flags(&mut self, any: bool, any_inherited: bool)
Auto Trait Implementations§
impl Freeze for NtAuthStore
impl RefUnwindSafe for NtAuthStore
impl Send for NtAuthStore
impl Sync for NtAuthStore
impl Unpin for NtAuthStore
impl UnsafeUnpin for NtAuthStore
impl UnwindSafe for NtAuthStore
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
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> 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 more