pub struct Contact {
pub uid: String,
pub etag: String,
pub vcard: String,
pub fn_name: String,
pub email: String,
}Expand description
A single vCard stored under an address book.
Fields§
§uid: StringvCard UID property — globally unique per RFC 6350 §6.7.6. Also the
URL path segment in /dav/.../contacts/{uid}.vcf.
etag: StringStrong validator returned as ETag and on getetag PROPFIND queries.
vcard: StringVerbatim RFC 6350 vCard text — the canonical form. PUT bodies round- trip unchanged through GET so client X-* extensions survive.
fn_name: StringProjection of the vCard FN (formatted name) property; safe for
listing UIs. Field name is fn_name because fn is a Rust keyword.
email: StringPrimary email projection (first EMAIL property value, or empty).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Contact
impl RefUnwindSafe for Contact
impl Send for Contact
impl Sync for Contact
impl Unpin for Contact
impl UnsafeUnpin for Contact
impl UnwindSafe for Contact
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