pub struct SearchResultEntry {
pub dn: String,
pub attributes: Vec<PartialAttribute>,
}Fields§
§dn: String§attributes: Vec<PartialAttribute>Implementations§
Source§impl SearchResultEntry
impl SearchResultEntry
pub fn attr(&self, name: &str) -> Option<&PartialAttribute>
pub fn first_value(&self, attr: &str) -> Option<&[u8]>
pub fn first_string_value(&self, attr: &str) -> Option<&str>
Trait Implementations§
Source§impl Clone for SearchResultEntry
impl Clone for SearchResultEntry
Source§fn clone(&self) -> SearchResultEntry
fn clone(&self) -> SearchResultEntry
Returns a duplicate of the value. Read more
1.0.0 · 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 SearchResultEntry
impl Debug for SearchResultEntry
Source§impl PartialEq for SearchResultEntry
impl PartialEq for SearchResultEntry
impl Eq for SearchResultEntry
impl StructuralPartialEq for SearchResultEntry
Auto Trait Implementations§
impl Freeze for SearchResultEntry
impl RefUnwindSafe for SearchResultEntry
impl Send for SearchResultEntry
impl Sync for SearchResultEntry
impl Unpin for SearchResultEntry
impl UnsafeUnpin for SearchResultEntry
impl UnwindSafe for SearchResultEntry
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