Struct vobject::vcard::Vcard
[−]
[src]
pub struct Vcard(_);
Methods
impl Vcard
[src]
The Vcard object.
This type simply holds data and offers functions to access this data. It does not compute anything.
pub fn build(s: &str) -> Result<Vcard>
[src]
Parse a string to a Vcard object
Returns an error if the parsed text is not a Vcard (that means that an error is returned also if this is a valid icalendar!)
pub fn builder() -> VcardBuilder
[src]
Helper for VcardBuilder::new()
pub fn from_component(c: Component) -> RResult<Vcard, Component>
[src]
Wrap a Component into a Vcard object, or don't do it if the Component is not a Vcard.
pub fn adr(&self) -> Vec<Adr>
[src]
pub fn anniversary(&self) -> Option<Anniversary>
[src]
pub fn bday(&self) -> Option<BDay>
[src]
pub fn categories(&self) -> Vec<Category>
[src]
pub fn clientpidmap(&self) -> Option<ClientPidMap>
[src]
pub fn email(&self) -> Vec<Email>
[src]
pub fn fullname(&self) -> Vec<FullName>
[src]
pub fn gender(&self) -> Option<Gender>
[src]
pub fn geo(&self) -> Vec<Geo>
[src]
pub fn impp(&self) -> Vec<IMPP>
[src]
pub fn key(&self) -> Vec<Key>
[src]
pub fn lang(&self) -> Vec<Lang>
[src]
pub fn logo(&self) -> Vec<Logo>
[src]
pub fn member(&self) -> Vec<Member>
[src]
pub fn name(&self) -> Option<Name>
[src]
pub fn nickname(&self) -> Vec<NickName>
[src]
pub fn note(&self) -> Vec<Note>
[src]
pub fn org(&self) -> Vec<Organization>
[src]
pub fn photo(&self) -> Vec<Photo>
[src]
pub fn proid(&self) -> Option<Proid>
[src]
[src]
pub fn rev(&self) -> Option<Rev>
[src]
pub fn role(&self) -> Vec<Title>
[src]
pub fn sound(&self) -> Vec<Sound>
[src]
pub fn tel(&self) -> Vec<Tel>
[src]
pub fn title(&self) -> Vec<Title>
[src]
pub fn tz(&self) -> Vec<Tz>
[src]
pub fn uid(&self) -> Option<Uid>
[src]
pub fn url(&self) -> Vec<Url>
[src]
pub fn version(&self) -> Option<Version>
[src]
Methods from Deref<Target = Component>
pub fn get_only<P: AsRef<str>>(&self, name: P) -> Option<&Property>
[src]
Retrieve one property by key. Returns None
if not exactly one property was found.
pub fn get_all<P: AsRef<str>>(&self, name: P) -> &[Property]
[src]
Retrieve properties by key. Returns an empty slice if key doesn't exist.
Trait Implementations
impl Debug for Vcard
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more