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()
}
}