Struct VCard

Source
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§

Trait Implementations§

Source§

impl Clone for VCard

Source§

fn clone(&self) -> VCard

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for VCard

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for VCard

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl PartialEq for VCard

Source§

fn eq(&self, other: &VCard) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for VCard

Auto Trait Implementations§

§

impl Freeze for VCard

§

impl RefUnwindSafe for VCard

§

impl Send for VCard

§

impl Sync for VCard

§

impl Unpin for VCard

§

impl UnwindSafe for VCard

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.