#[non_exhaustive]pub struct LdapMessage {
pub message_id: u32,
pub operation: LdapOperation,
pub bind_name: Option<String>,
pub bind_auth_kind: Option<LdapAuthKind>,
pub search_base: Option<String>,
pub search_scope: Option<LdapSearchScope>,
pub search_attributes: Vec<String>,
pub search_attributes_spn_query: bool,
pub result_code: Option<LdapResultCode>,
pub result_matched_dn: Option<String>,
}Available on crate feature
ldap only.Expand description
One decoded LDAP message.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.message_id: u32§operation: LdapOperation§bind_name: Option<String>§bind_auth_kind: Option<LdapAuthKind>§search_base: Option<String>§search_scope: Option<LdapSearchScope>§search_attributes: Vec<String>Requested attribute list.
search_attributes_spn_query: booltrue when the requested attribute list includes
servicePrincipalName (Kerberoast / BloodHound
enumeration signal).
result_code: Option<LdapResultCode>LDAP resultCode on response operations. None
on requests / non-result ops.
result_matched_dn: Option<String>Matched DN on response operations (where present).
Trait Implementations§
Source§impl Clone for LdapMessage
impl Clone for LdapMessage
Source§impl Debug for LdapMessage
impl Debug for LdapMessage
Source§impl<'de> Deserialize<'de> for LdapMessage
Available on crate feature serde only.
impl<'de> Deserialize<'de> for LdapMessage
Available on crate feature
serde only.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
impl Eq for LdapMessage
Source§impl PartialEq for LdapMessage
impl PartialEq for LdapMessage
Source§impl Serialize for LdapMessage
Available on crate feature serde only.
impl Serialize for LdapMessage
Available on crate feature
serde only.impl StructuralPartialEq for LdapMessage
Auto Trait Implementations§
impl Freeze for LdapMessage
impl RefUnwindSafe for LdapMessage
impl Send for LdapMessage
impl Sync for LdapMessage
impl Unpin for LdapMessage
impl UnsafeUnpin for LdapMessage
impl UnwindSafe for LdapMessage
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> 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