Struct libimagcontact::contact::ContactData
[−]
[src]
pub struct ContactData(_);
Methods
impl ContactData
[src]
pub fn into_inner(self) -> Component
[src]
Methods from Deref<Target = Component>
pub fn get_only<P>(&self, name: P) -> Option<&Property> where
P: AsRef<str>,
[src]
P: AsRef<str>,
Retrieve one property by key. Returns None
if not exactly one property was found.
pub fn get_all<P>(&self, name: P) -> &[Property] where
P: AsRef<str>,
[src]
P: AsRef<str>,
Retrieve properties by key. Returns an empty slice if key doesn't exist.