pub struct VCard {
pub entries: Vec<VCardEntry>,
}
Fields§
§entries: Vec<VCardEntry>
Implementations§
Source§impl VCard
impl VCard
pub fn into_jscontact<I, B>(self) -> JSContact<'static, I, B>where
I: JSContactId,
B: JSContactId,
pub fn into_jscontact_with_options<I, B>(
self,
options: ConversionOptions,
) -> JSContact<'static, I, B>where
I: JSContactId,
B: JSContactId,
Source§impl VCard
impl VCard
pub fn uid(&self) -> Option<&str>
pub fn property(&self, prop: &VCardProperty) -> Option<&VCardEntry>
pub fn properties<'x, 'y: 'x>( &'x self, prop: &'y VCardProperty, ) -> impl Iterator<Item = &'x VCardEntry> + 'x
pub fn version(&self) -> Option<VCardVersion>
pub fn size(&self) -> usize
Trait Implementations§
Source§impl<'de> Deserialize<'de> for VCard
impl<'de> Deserialize<'de> for VCard
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for VCard
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more