[][src]Struct vcard::VCard

pub struct VCard {
    pub begin: Begin,
    pub version: Version,
    pub formatted_names: Set<FormattedName>,
    pub names: Option<Set<Name>>,
    pub nicknames: Option<Set<NickName>>,
    pub uid: Option<UID>,
    pub keys: Option<Set<Key>>,
    pub gender: Option<Gender>,
    pub birthdays: Option<Set<Birthday>>,
    pub anniversaries: Option<Set<Anniversary>>,
    pub addresses: Option<Set<Address>>,
    pub telephones: Option<Set<Telephone>>,
    pub emails: Option<Set<Email>>,
    pub titles: Option<Set<Title>>,
    pub roles: Option<Set<Role>>,
    pub photos: Option<Set<Photo>>,
    pub logos: Option<Set<Logo>>,
    pub urls: Option<Set<URL>>,
    pub sounds: Option<Set<Sound>>,
    pub organizations: Option<Set<Organization>>,
    pub members: Option<Set<Member>>,
    pub relationships: Option<Set<Relationship>>,
    pub categories: Option<Set<Category>>,
    pub notes: Option<Set<Note>>,
    pub languages: Option<Set<Language>>,
    pub time_zones: Option<Set<TimeZone>>,
    pub geos: Option<Set<TimeZone>>,
    pub impps: Option<Set<IMPP>>,
    pub sources: Option<Set<Source>>,
    pub product_id: Option<ProductID>,
    pub client_property_id_maps: Option<Set<ClientPropertyIDMap>>,
    pub fburls: Option<Set<FBURL>>,
    pub calendar_uris: Option<Set<CalendarURI>>,
    pub calendar_address_uris: Option<Set<CalendarAddressURI>>,
    pub x_properties: Option<Set<XProperty>>,
    pub revision: Option<Revision>,
    pub end: End,
}

Fields

begin: Beginversion: Versionformatted_names: Set<FormattedName>names: Option<Set<Name>>nicknames: Option<Set<NickName>>uid: Option<UID>keys: Option<Set<Key>>gender: Option<Gender>birthdays: Option<Set<Birthday>>anniversaries: Option<Set<Anniversary>>addresses: Option<Set<Address>>telephones: Option<Set<Telephone>>emails: Option<Set<Email>>titles: Option<Set<Title>>roles: Option<Set<Role>>photos: Option<Set<Photo>>logos: Option<Set<Logo>>urls: Option<Set<URL>>sounds: Option<Set<Sound>>organizations: Option<Set<Organization>>members: Option<Set<Member>>relationships: Option<Set<Relationship>>categories: Option<Set<Category>>notes: Option<Set<Note>>languages: Option<Set<Language>>time_zones: Option<Set<TimeZone>>geos: Option<Set<TimeZone>>impps: Option<Set<IMPP>>sources: Option<Set<Source>>product_id: Option<ProductID>client_property_id_maps: Option<Set<ClientPropertyIDMap>>fburls: Option<Set<FBURL>>calendar_uris: Option<Set<CalendarURI>>calendar_address_uris: Option<Set<CalendarAddressURI>>x_properties: Option<Set<XProperty>>revision: Option<Revision>end: End

Methods

impl VCard[src]

pub fn from_formatted_names(
    formatted_names: Set<FormattedName>
) -> Result<VCard, VCardError>
[src]

pub fn from_formatted_name(
    formatted_name: FormattedName
) -> Result<VCard, VCardError>
[src]

pub fn from_formatted_name_string(
    formatted_name: String
) -> Result<VCard, VCardError>
[src]

pub fn from_formatted_name_str(
    formatted_name: &str
) -> Result<VCard, VCardError>
[src]

pub fn save_to_file<P: AsRef<Path>>(&self, path: P) -> Result<(), Error>[src]

Trait Implementations

impl Clone for VCard[src]

impl PartialEq<VCard> for VCard[src]

impl Debug for VCard[src]

impl Display for VCard[src]

Auto Trait Implementations

impl Sync for VCard

impl Send for VCard

impl Unpin for VCard

impl UnwindSafe for VCard

impl RefUnwindSafe for VCard

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]