ldapquery 0.0.6

A builder for ldap queries
Documentation
use std::fmt::Display;

pub trait LdapValue: Display + Clone {
  fn write(&self) -> String;
}

impl LdapValue for &str {
  fn write(&self) -> String {
    self.to_string()
  }
}

impl LdapValue for String {
  fn write(&self) -> String {
    self.clone()
  }
}

impl LdapValue for &String {
  fn write(&self) -> String {
    (*self).clone()
  }
}