Enum ldap3::Mod [] [src]

pub enum Mod<S: AsRef<str> + Eq + Hash> {
    Add(S, HashSet<S>),
    Delete(S, HashSet<S>),
    Replace(S, HashSet<S>),
}

Possible sub-operations for the Modify operation.

Variants

Add an attribute, with at least one value.

Delete the entire attribute, or the given values of an attribute.

Replace an existing attribute, setting its values to those in the set, or delete it if no values are given.

Trait Implementations

impl<S: Clone + AsRef<str> + Eq + Hash> Clone for Mod<S>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<S: Debug + AsRef<str> + Eq + Hash> Debug for Mod<S>
[src]

Formats the value using the given formatter.

impl<S: PartialEq + AsRef<str> + Eq + Hash> PartialEq for Mod<S>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.