pub struct VCard {Show 37 fields
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: Begin
version: Version
formatted_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
Implementations
sourceimpl VCard
impl VCard
pub fn from_formatted_names(
formatted_names: Set<FormattedName>
) -> Result<VCard, VCardError>
pub fn from_formatted_name(
formatted_name: FormattedName
) -> Result<VCard, VCardError>
pub fn from_formatted_name_string(
formatted_name: String
) -> Result<VCard, VCardError>
pub fn from_formatted_name_str(
formatted_name: &str
) -> Result<VCard, VCardError>
pub fn save_to_file<P: AsRef<Path>>(&self, path: P) -> Result<(), Error>
Trait Implementations
impl StructuralPartialEq for VCard
Auto Trait Implementations
impl RefUnwindSafe for VCard
impl Send for VCard
impl Sync for VCard
impl Unpin for VCard
impl UnwindSafe for VCard
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more