vcard 0.4.13

A pure Rust implementation of vCard based on RFC 6350.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
pub use super::super::validators::email::Email as EmailValue;
use super::{super::escaping::*, *};

impl Value for EmailValue {
    fn fmt(&self, f: &mut Formatter) -> Result<(), fmt::Error> {
        let c = escape_backslash(self.get_full_email());
        let c = escape_comma(c.as_ref());

        f.write_str(c.as_ref())?;

        Ok(())
    }
}